diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-13 08:58:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-13 08:58:42 +0000 |
commit | f7de70d68cfad378a9b4f3b1f572196e8fa23e2a (patch) | |
tree | 458f632a19f37ee071be657e099b3f0e9f99980c /src/util/os_priority.c | |
parent | 10cb56ae4e463e404d4d3ba2147340809d608ed8 (diff) | |
download | gnunet-f7de70d68cfad378a9b4f3b1f572196e8fa23e2a.tar.gz gnunet-f7de70d68cfad378a9b4f3b1f572196e8fa23e2a.zip |
-fixes and cleanup
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r-- | src/util/os_priority.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index e53dbfa2d..3f49290a7 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -781,7 +781,7 @@ start_process (int pipe_control, | |||
781 | pid_t ret; | 781 | pid_t ret; |
782 | char lpid[16]; | 782 | char lpid[16]; |
783 | char fds[16]; | 783 | char fds[16]; |
784 | struct GNUNET_OS_Process *gnunet_proc = NULL; | 784 | struct GNUNET_OS_Process *gnunet_proc; |
785 | char *childpipename = NULL; | 785 | char *childpipename = NULL; |
786 | int i; | 786 | int i; |
787 | int j; | 787 | int j; |
@@ -918,7 +918,7 @@ start_process (int pipe_control, | |||
918 | LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_ERROR, "execvp", filename); | 918 | LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_ERROR, "execvp", filename); |
919 | _exit (1); | 919 | _exit (1); |
920 | #else | 920 | #else |
921 | struct GNUNET_DISK_FileHandle *control_pipe = NULL; | 921 | struct GNUNET_DISK_FileHandle *control_pipe; |
922 | char *childpipename = NULL; | 922 | char *childpipename = NULL; |
923 | char **arg; | 923 | char **arg; |
924 | char **non_const_argv; | 924 | char **non_const_argv; |
@@ -928,7 +928,7 @@ start_process (int pipe_control, | |||
928 | STARTUPINFOW start; | 928 | STARTUPINFOW start; |
929 | PROCESS_INFORMATION proc; | 929 | PROCESS_INFORMATION proc; |
930 | int argcount = 0; | 930 | int argcount = 0; |
931 | struct GNUNET_OS_Process *gnunet_proc = NULL; | 931 | struct GNUNET_OS_Process *gnunet_proc; |
932 | char path[MAX_PATH + 1]; | 932 | char path[MAX_PATH + 1]; |
933 | char *our_env[5] = { NULL, NULL, NULL, NULL, NULL }; | 933 | char *our_env[5] = { NULL, NULL, NULL, NULL, NULL }; |
934 | char *env_block = NULL; | 934 | char *env_block = NULL; |