diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2012-02-13 00:43:48 -0800 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-17 11:42:20 -0500 |
commit | 340d906419f8f263cd75eee1fb9d6c735b45a5d2 (patch) | |
tree | 18491564f2973d5921008d818b9fb7dcb649e42a /src/common | |
parent | d37a1ec8c678d80072c0299515547343bd1c8a07 (diff) | |
download | tor-340d906419f8f263cd75eee1fb9d6c735b45a5d2.tar tor-340d906419f8f263cd75eee1fb9d6c735b45a5d2.tar.gz |
Change type of unixoid_environment_block to match tor_spawn_background's arg
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h index 9d1baf0a2..41bd3d979 100644 --- a/src/common/util.h +++ b/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; |