2004-09-30 Marcus Brinkmann <marcus@g10code.de>
* data.c (_gpgme_data_inbound_handler): Use _gpgme_io_read, not read, to improve debug output.
This commit is contained in:
parent
b6852571b3
commit
a2d38f6824
@ -1,3 +1,8 @@
|
|||||||
|
2004-09-30 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* data.c (_gpgme_data_inbound_handler): Use _gpgme_io_read, not
|
||||||
|
read, to improve debug output.
|
||||||
|
|
||||||
2004-09-29 Marcus Brinkmann <marcus@g10code.de>
|
2004-09-29 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.h (GPGME_IMPORT_NEW, GPGME_IMPORT_UID, GPGME_IMPORT_SIG,
|
* gpgme.h (GPGME_IMPORT_NEW, GPGME_IMPORT_UID, GPGME_IMPORT_SIG,
|
||||||
|
@ -177,7 +177,7 @@ _gpgme_data_inbound_handler (void *opaque, int fd)
|
|||||||
char *bufp = buffer;
|
char *bufp = buffer;
|
||||||
ssize_t buflen;
|
ssize_t buflen;
|
||||||
|
|
||||||
buflen = read (fd, buffer, BUFFER_SIZE);
|
buflen = _gpgme_io_read (fd, buffer, BUFFER_SIZE);
|
||||||
if (buflen < 0)
|
if (buflen < 0)
|
||||||
return gpg_error_from_errno (errno);
|
return gpg_error_from_errno (errno);
|
||||||
if (buflen == 0)
|
if (buflen == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user