diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-15 19:21:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-15 19:21:30 +0000 |
commit | 3d79eb52abf20c64e02dfae1c993d5c83ddf57da (patch) | |
tree | 1a40ec0860c1fe2b72f6e85762ed9374bb0c9670 /src/or/connection_edge.c | |
parent | 0ada963ef6fd10067630b8c9661372f419ab44e9 (diff) | |
download | tor-3d79eb52abf20c64e02dfae1c993d5c83ddf57da.tar.gz tor-3d79eb52abf20c64e02dfae1c993d5c83ddf57da.zip |
stick to nick's nul/null convention
svn:r6763
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 508c2a65be..41948e055c 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1919,14 +1919,14 @@ parse_extended_hostname(char *address) s = strrchr(address,'.'); if (!s) return 0; /* no dot, thus normal */ if (!strcmp(s+1,"exit")) { - *s = 0; /* null-terminate it */ + *s = 0; /* nul-terminate it */ return EXIT_HOSTNAME; /* .exit */ } if (strcmp(s+1,"onion")) return NORMAL_HOSTNAME; /* neither .exit nor .onion, thus normal */ /* so it is .onion */ - *s = 0; /* null-terminate it */ + *s = 0; /* nul-terminate it */ if (strlcpy(query, address, REND_SERVICE_ID_LEN+1) >= REND_SERVICE_ID_LEN+1) goto failed; |