Change type of unixoid_environment_block to match tor_spawn_background's arg

This commit is contained in:
Robert Ransom 2012-02-13 00:43:48 -08:00 committed by Nick Mathewson
parent d37a1ec8c6
commit 340d906419

View File

@ -386,8 +386,11 @@ struct process_environment_t {
* NUL-terminated strings of the form "NAME=VALUE". */ * NUL-terminated strings of the form "NAME=VALUE". */
char *windows_environment_block; char *windows_environment_block;
/** A pointer to a NULL-terminated array of pointers to /** A pointer to a NULL-terminated array of pointers to
* NUL-terminated strings of the form "NAME=VALUE". */ * NUL-terminated strings of the form "NAME=VALUE".
char **unixoid_environment_block; *
* 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; typedef struct process_environment_t process_environment_t;