fix a comment

svn:r19262
This commit is contained in:
Roger Dingledine 2009-04-11 00:40:11 +00:00
parent 927d35a001
commit 7e32f0d5c8

View File

@ -1788,7 +1788,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
return -1;
}
/* Sign the directory */
/* Sign the descriptor */
strlcpy(s+written, "router-signature\n", maxlen-written);
written += strlen(s+written);
s[written] = '\0';