diff options
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 9a5c645d73..6d7a31190d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -83,7 +83,7 @@ struct config_line *config_get_lines(FILE *f) { } /* walk to the end, remove end whitespace */ - s = index(line, 0); /* now we're at the null */ + s = strchr(line, 0); /* now we're at the null */ do { *s = 0; s--; |