aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-07 10:57:59 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-07 10:57:59 -0400
commit39e69a0a8c9147f140de327b20ba44619297e738 (patch)
treedb05c3302763165cdae78b3e2d035d8e733dc7c8 /src/or/config.c
parenta75941dcd54be0bfca8bf0709e74c959f8d2cb04 (diff)
downloadtor-39e69a0a8c9147f140de327b20ba44619297e738.tar.gz
tor-39e69a0a8c9147f140de327b20ba44619297e738.zip
Fix comments: There is no such thing as a NUL pointer
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index bfed4e5db4..ab4f160bf2 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -5099,7 +5099,7 @@ parse_client_transport_line(const char *line, int validate_only)
*tmp++ = smartlist_get(items, 2);
smartlist_del_keeporder(items, 2);
}
- *tmp = NULL; /*terminated with NUL pointer, just like execve() likes it*/
+ *tmp = NULL; /*terminated with NULL, just like execve() likes it*/
/* kickstart the thing */
pt_kickstart_client_proxy(transport_list, proxy_argv);
@@ -5222,7 +5222,7 @@ parse_server_transport_line(const char *line, int validate_only)
*tmp++ = smartlist_get(items, 2);
smartlist_del_keeporder(items, 2);
}
- *tmp = NULL; /*terminated with NUL pointer, just like execve() likes it*/
+ *tmp = NULL; /*terminated with NULL, just like execve() likes it*/
/* kickstart the thing */
pt_kickstart_server_proxy(transport_list, proxy_argv);