mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Use macros for iobuf ioctls.
This commit is contained in:
parent
1b845104ac
commit
40a78fab0c
16 changed files with 103 additions and 94 deletions
|
@ -150,7 +150,7 @@ verify_one_file( const char *name )
|
|||
print_file_status( STATUS_FILE_START, name, 1 );
|
||||
fp = iobuf_open(name);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue