mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
(iobuf_get_fd): Removed double check on directfp and
cats it to FILEP becuase directfp is actually a void *. Notes by Stefan.
This commit is contained in:
parent
35774ec568
commit
299ab4e48d
@ -1,3 +1,9 @@
|
||||
2004-10-14 Werner Koch <wk@g10code.com>
|
||||
|
||||
* iobuf.c (iobuf_get_fd): Removed double check on directfp and
|
||||
cats it to FILEP becuase directfp is actually a void *. Notes by
|
||||
Stefan.
|
||||
|
||||
2004-10-13 Werner Koch <wk@g10code.com>
|
||||
|
||||
* logger.c (g10_log_error_f, g10_log_fatal_f, g10_log_info_f)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user