From 40a78fab0c224bfb92097a6d7f93c0893740d190 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 8 Mar 2010 17:05:37 +0000 Subject: Use macros for iobuf ioctls. --- g10/exec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'g10/exec.c') 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); } } -- cgit v1.2.3