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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdenetwork/libgpgme-copy/gpgme/posix-io.c b/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
index 85df946fb..5be777401 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_parent_list)
+ struct spawn_fd_item_s *fd_tqparent_list)
{
pid_t pid;
int i;
@@ -299,9 +299,9 @@ _gpgme_io_spawn (const char *path, char **argv,
if (status)
return -1;
- /* .dup_to is not used in the parent list. */
- for (i = 0; fd_parent_list[i].fd != -1; i++)
- _gpgme_io_close (fd_parent_list[i].fd);
+ /* .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);
return 0;
}