diff options
author | Werner Koch <[email protected]> | 2010-03-08 17:05:37 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-03-08 17:05:37 +0000 |
commit | 40a78fab0c224bfb92097a6d7f93c0893740d190 (patch) | |
tree | 3d8b2bb9ad0346fa80f04cf7bab3181d55bff31e /g10/exec.c | |
parent | More cleanups (diff) | |
download | gnupg-40a78fab0c224bfb92097a6d7f93c0893740d190.tar.gz gnupg-40a78fab0c224bfb92097a6d7f93c0893740d190.zip |
Use macros for iobuf ioctls.
Diffstat (limited to 'g10/exec.c')
-rw-r--r-- | g10/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/exec.c b/g10/exec.c index 6ab24793f..46a2c600d 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -449,8 +449,8 @@ exec_write(struct exec_info **info,const char *program, goto fail; } - /* fd iobufs are cached?! */ - iobuf_ioctl((*info)->fromchild,3,1,NULL); + /* fd iobufs are cached! */ + iobuf_ioctl((*info)->fromchild, IOBUF_IOCTL_NO_CACHE, 1, NULL); return 0; } @@ -556,7 +556,7 @@ exec_read(struct exec_info *info) } /* Do not cache this iobuf on close */ - iobuf_ioctl(info->fromchild,3,1,NULL); + iobuf_ioctl(info->fromchild, IOBUF_IOCTL_NO_CACHE, 1, NULL); } } |