Skip to content
Snippets Groups Projects
Commit 1d366935 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Use get_environment(), not environ.

parent eaedcba4
No related branches found
No related tags found
No related merge requests found
......@@ -3840,7 +3840,7 @@ get_current_process_environment_variables(void)
smartlist_t *sl = smartlist_new();
char **environ_tmp; /* Not const char ** ? Really? */
for (environ_tmp = environ; *environ_tmp; ++environ_tmp) {
for (environ_tmp = get_environment(); *environ_tmp; ++environ_tmp) {
smartlist_add(sl, tor_strdup(*environ_tmp));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment