]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Change type of unixoid_environment_block to match tor_spawn_background's arg
authorRobert Ransom <rransom.8774@gmail.com>
Mon, 13 Feb 2012 08:43:48 +0000 (00:43 -0800)
committerNick Mathewson <nickm@torproject.org>
Fri, 17 Feb 2012 16:42:20 +0000 (11:42 -0500)
src/common/util.h

index 9d1baf0a25e0cc2bc6f159c9fd8e178f9a25451e..41bd3d9795db409a99e75de2c72d48df8b70f010 100644 (file)
@@ -386,8 +386,11 @@ struct process_environment_t {
    * NUL-terminated strings of the form "NAME=VALUE". */
   char *windows_environment_block;
   /** A pointer to a NULL-terminated array of pointers to
-   * NUL-terminated strings of the form "NAME=VALUE". */
-  char **unixoid_environment_block;
+   * NUL-terminated strings of the form "NAME=VALUE".
+   *
+   * XXXX This should have type char **, but tor_spawn_background's
+   * prototype is incorrect. */
+  const char **unixoid_environment_block;
 };
 typedef struct process_environment_t process_environment_t;