diff options
author | Marcus Brinkmann <[email protected]> | 2007-09-27 11:44:45 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2007-09-27 11:44:45 +0000 |
commit | 8495b4f031098bb83996fc5c62c7d77f781f6dc2 (patch) | |
tree | 1143ad2b98e12a16ac5187058b92ca2460c66d63 /assuan/assuan-pipe-connect.c | |
parent | 2007-09-27 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-8495b4f031098bb83996fc5c62c7d77f781f6dc2.tar.gz gpgme-8495b4f031098bb83996fc5c62c7d77f781f6dc2.zip |
2007-09-27 Marcus Brinkmann <[email protected]>
* assuan-pipe-connect.c (pipe_connect_gpgme): Fix last change.
gpgme/
2007-09-27 Marcus Brinkmann <[email protected]>
* w32-glib-io.c (_gpgme_io_pipe), w32-qt-io.c (_gpgme_io_pipe),
w32-io.c (_gpgme_io_pipe), posix-io.c (_gpgme_io_pipe): Fix debug
output.
Diffstat (limited to '')
-rw-r--r-- | assuan/assuan-pipe-connect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assuan/assuan-pipe-connect.c b/assuan/assuan-pipe-connect.c index 1b6418f2..359eb494 100644 --- a/assuan/assuan-pipe-connect.c +++ b/assuan/assuan-pipe-connect.c @@ -571,7 +571,7 @@ pipe_connect_gpgme (assuan_context_t *ctx, { assuan_error_t err; int pid; -int rp[2]; + int rp[2]; int wp[2]; char mypidstr[50]; struct spawn_fd_item_s child_fds[3]; /* stdin, stdout, terminating -1 */ @@ -586,10 +586,10 @@ int rp[2]; sprintf (mypidstr, "%lu", (unsigned long)getpid ()); /* Create the two pipes. */ - if (_gpgme_io_pipe (rp, 0)) + if (_gpgme_io_pipe (rp, 1)) return _assuan_error (ASSUAN_General_Error); - if (_gpgme_io_pipe (wp, 1)) + if (_gpgme_io_pipe (wp, 0)) { _gpgme_io_close (rp[0]); _gpgme_io_close (rp[1]); @@ -706,7 +706,7 @@ build_w32_commandline (const char * const *argv, char **cmdline) #ifdef HAVE_W32_SYSTEM -/* Create pipe where one end end is inheritable. */ +/* Create pipe where one end is inheritable. */ static int create_inheritable_pipe (int filedes[2], int for_write) { |