diff options
author | Werner Koch <[email protected]> | 1999-08-04 08:45:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-08-04 08:45:27 +0000 |
commit | 28c861268daabaf349bf1688886671be9807d95c (patch) | |
tree | a53a13f59d2bbc8719862b4622bd6473c7d3a128 /util/iobuf.c | |
parent | See ChangeLog: Mon Jul 26 15:46:23 CEST 1999 Werner Koch (diff) | |
download | gnupg-28c861268daabaf349bf1688886671be9807d95c.tar.gz gnupg-28c861268daabaf349bf1688886671be9807d95c.zip |
See ChangeLog: Wed Aug 4 10:34:46 CEST 1999 Werner KochV0-9-10
Diffstat (limited to 'util/iobuf.c')
-rw-r--r-- | util/iobuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/iobuf.c b/util/iobuf.c index 31dabace0..f2e621596 100644 --- a/util/iobuf.c +++ b/util/iobuf.c @@ -92,7 +92,7 @@ file_filter(void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len) if( control == IOBUFCTRL_UNDERFLOW ) { assert( size ); /* need a buffer */ - if ( feof(fp)) { /* On terminals you could easiely read as many EOFs as you call */ + if ( feof(fp)) { /* On terminals you could easiely read as many EOFs as you call */ rc = -1; /* fread() or fgetc() repeatly. Every call will block until you press */ *ret_len = 0; /* CTRL-D. So we catch this case before we call fread() again. */ } @@ -425,7 +425,7 @@ print_chain( IOBUF a ) log_debug("iobuf chain: %d.%d `%s' filter_eof=%d start=%d len=%d\n", a->no, a->subno, desc, a->filter_eof, - a->d.start, a->d.len ); + (int)a->d.start, (int)a->d.len ); } } |