Преглед изворни кода

Change type of unixoid_environment_block to match tor_spawn_background's arg

Robert Ransom пре 13 година
родитељ
комит
340d906419
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      src/common/util.h

+ 5 - 2
src/common/util.h

@@ -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;