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
|
@ -196,7 +196,8 @@ import_keys_internal( IOBUF inp, char **fnames, int nnames,
|
|||
rc = import( inp2, fname, stats, fpr, fpr_len, options );
|
||||
iobuf_close(inp2);
|
||||
/* Must invalidate that ugly cache to actually close it. */
|
||||
iobuf_ioctl (NULL, 2, 0, (char*)fname);
|
||||
iobuf_ioctl (NULL, IOBUF_IOCTL_INVALIDATE_CACHE,
|
||||
0, (char*)fname);
|
||||
if( rc )
|
||||
log_error("import from `%s' failed: %s\n", fname,
|
||||
g10_errstr(rc) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue