projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a452151
)
-LRN: set control_pipe to NULL if not controlled
author
Christian Grothoff
<christian@grothoff.org>
Wed, 29 Feb 2012 09:24:24 +0000
(09:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 29 Feb 2012 09:24:24 +0000
(09:24 +0000)
src/util/os_priority.c
patch
|
blob
|
history
diff --git
a/src/util/os_priority.c
b/src/util/os_priority.c
index 5a07099582aad7e0bd7b807205469f1deb944c72..4e73f84df60a489e8ed12afb64daa6a7310fd856 100644
(file)
--- a/
src/util/os_priority.c
+++ b/
src/util/os_priority.c
@@
-972,6
+972,8
@@
GNUNET_OS_start_process_vap (int pipe_control,
return NULL;
}
}
+ else
+ control_pipe = NULL;
if (NULL != childpipename)
{
LOG (GNUNET_ERROR_TYPE_DEBUG, "Opened the parent end of the pipe `%s'\n",
@@
-1345,6
+1347,8
@@
GNUNET_OS_start_process_v (int pipe_control,
return NULL;
}
}
+ else
+ control_pipe = NULL;
if (lsocks != NULL && lsocks[0] != INVALID_SOCKET)
{
lsocks_pipe = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_YES, GNUNET_NO);