diff options
author | Roger Dingledine <arma@torproject.org> | 2004-09-23 22:18:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-09-23 22:18:50 +0000 |
commit | fa0a1ec49ff9cd93730e81f5eb4112624b5c0443 (patch) | |
tree | 3beb7863d2e6cf91a3c8b4a632624c423c5edfe2 /src/or/routerparse.c | |
parent | 09f450104ae87cadf71e4eca982fc35446c6af30 (diff) | |
download | tor-fa0a1ec49ff9cd93730e81f5eb4112624b5c0443.tar.gz tor-fa0a1ec49ff9cd93730e81f5eb4112624b5c0443.zip |
cleanup: use strcmpstart() in more places
svn:r2372
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index c970851b91..fdc34f205f 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -591,7 +591,7 @@ router_parse_list_from_string(const char **s, routerlist_t **dest, while (1) { *s = eat_whitespace(*s); /* Don't start parsing the rest of *s unless it contains a router. */ - if (strncmp(*s, "router ", 7)!=0) + if (strcmpstart(*s, "router ")!=0) break; if ((end = strstr(*s+1, "\nrouter "))) { end++; |