summaryrefslogtreecommitdiffstats
path: root/g10/decrypt.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-08 18:05:37 +0100
committerWerner Koch <wk@gnupg.org>2010-03-08 18:05:37 +0100
commit40a78fab0c224bfb92097a6d7f93c0893740d190 (patch)
tree3d8b2bb9ad0346fa80f04cf7bab3181d55bff31e /g10/decrypt.c
parentMore cleanups (diff)
downloadgnupg2-40a78fab0c224bfb92097a6d7f93c0893740d190.tar.xz
gnupg2-40a78fab0c224bfb92097a6d7f93c0893740d190.zip
Use macros for iobuf ioctls.
Diffstat (limited to 'g10/decrypt.c')
-rw-r--r--g10/decrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/decrypt.c b/g10/decrypt.c
index 68b668864..ef7966d79 100644
--- a/g10/decrypt.c
+++ b/g10/decrypt.c
@@ -223,7 +223,7 @@ decrypt_messages (int nfiles, char *files[])
goto next_file;
fp = iobuf_open(filename);
if (fp)
- iobuf_ioctl (fp,3,1,NULL); /* disable fd caching */
+ iobuf_ioctl (fp, IOBUF_IOCTL_NO_CACHE, 1, NULL);
if (fp && is_secured_file (iobuf_get_fd (fp)))
{
iobuf_close (fp);