summaryrefslogtreecommitdiff
path: root/src/htsrobots.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-06-10 20:27:13 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-06-10 20:27:13 +0000
commit713b83f7b406858269863d92865b715470d6335c (patch)
tree79eb2733939d29388f0776f68da4b053427a61c9 /src/htsrobots.c
parent82e61ae9d68114bdcd6fafdb8bf823ae9ce69bef (diff)
Added the following compiler flags:
* -Wcast-qual * -Wmissing-parameter-type * -Wold-style-definition
Diffstat (limited to 'src/htsrobots.c')
-rw-r--r--src/htsrobots.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsrobots.c b/src/htsrobots.c
index e7656b3..dac9400 100644
--- a/src/htsrobots.c
+++ b/src/htsrobots.c
@@ -60,7 +60,7 @@ int checkrobots(robots_wizard * robots, const char *adr, const char *fil) {
return -1; // interdit
}
} else { // relatif
- if (strstrcase((char*) fil, line)) {
+ if (strstrcase(fil, line)) {
return -1;
}
}