[tor-commits] [tor/master] Fix comments: There is no such thing as a NUL pointer
nickm at torproject.org
nickm at torproject.org
Mon May 7 15:06:41 UTC 2012
commit 39e69a0a8c9147f140de327b20ba44619297e738
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon May 7 10:57:59 2012 -0400
Fix comments: There is no such thing as a NUL pointer
---
src/or/config.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c
index bfed4e5..ab4f160 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);
More information about the tor-commits
mailing list