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/decrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/decrypt.c') 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); -- cgit v1.2.3