diff options
| author | Werner Koch <[email protected]> | 2004-10-14 07:20:54 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2004-10-14 07:20:54 +0000 |
| commit | 299ab4e48d8b35b48af04ff574c01dad4180763b (patch) | |
| tree | 476bab3a225f9b45e5a8c5688ec9c0e5bcf69a57 /util/iobuf.c | |
| parent | * misc.c (is_secured_filename): New. (diff) | |
| download | gnupg-299ab4e48d8b35b48af04ff574c01dad4180763b.tar.gz gnupg-299ab4e48d8b35b48af04ff574c01dad4180763b.zip | |
(iobuf_get_fd): Removed double check on directfp and
cats it to FILEP becuase directfp is actually a void *. Notes by
Stefan.
Diffstat (limited to 'util/iobuf.c')
| -rw-r--r-- | util/iobuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iobuf.c b/util/iobuf.c index 3b1fe8636..3a8f4619c 100644 --- a/util/iobuf.c +++ b/util/iobuf.c @@ -1857,7 +1857,7 @@ int iobuf_get_fd (IOBUF a) { if (a->directfp) - return a->directfp? fileno(a->directfp) : -1; + return fileno ( (FILE*)a->directfp ); for ( ; a; a = a->chain ) if (!a->chain && a->filter == file_filter) |
