]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix comments: There is no such thing as a NUL pointer
authorNick Mathewson <nickm@torproject.org>
Mon, 7 May 2012 14:57:59 +0000 (10:57 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 7 May 2012 14:57:59 +0000 (10:57 -0400)
src/or/config.c

index bfed4e5db47abe11e355852004f4535f8724093e..ab4f160bf2b653fdeb3e3957ef479cf6595a78bf 100644 (file)
@@ -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);