summaryrefslogtreecommitdiffstats
path: root/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkdenetwork/libgpgme-copy/gpgme/posix-io.c')
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/posix-io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdenetwork/libgpgme-copy/gpgme/posix-io.c b/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
index 5be777401..3c9fa4b13 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
@@ -212,7 +212,7 @@ _gpgme_io_waitpid (int pid, int hang, int *r_status, int *r_signal)
int
_gpgme_io_spawn (const char *path, char **argv,
struct spawn_fd_item_s *fd_child_list,
- struct spawn_fd_item_s *fd_tqparent_list)
+ struct spawn_fd_item_s *fd_parent_list)
{
pid_t pid;
int i;
@@ -300,8 +300,8 @@ _gpgme_io_spawn (const char *path, char **argv,
return -1;
/* .dup_to is not used in the tqparent list. */
- for (i = 0; fd_tqparent_list[i].fd != -1; i++)
- _gpgme_io_close (fd_tqparent_list[i].fd);
+ for (i = 0; fd_parent_list[i].fd != -1; i++)
+ _gpgme_io_close (fd_parent_list[i].fd);
return 0;
}