From c2f95339550fafc4ece54fd6d0e9759ed8625c3e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 30 Sep 2004 00:19:22 +0000 Subject: [PATCH] 2004-09-30 Marcus Brinkmann * data.c (_gpgme_data_inbound_handler): Use _gpgme_io_read, not read, to improve debug output. --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/data.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 1ffffd2..62bb588 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2004-09-30 Marcus Brinkmann + + * data.c (_gpgme_data_inbound_handler): Use _gpgme_io_read, not + read, to improve debug output. + 2004-09-29 Marcus Brinkmann * gpgme.h (GPGME_IMPORT_NEW, GPGME_IMPORT_UID, GPGME_IMPORT_SIG, diff --git a/trunk/gpgme/data.c b/trunk/gpgme/data.c index e4e13a3..c30e6ec 100644 --- a/trunk/gpgme/data.c +++ b/trunk/gpgme/data.c @@ -177,7 +177,7 @@ _gpgme_data_inbound_handler (void *opaque, int fd) char *bufp = buffer; ssize_t buflen; - buflen = read (fd, buffer, BUFFER_SIZE); + buflen = _gpgme_io_read (fd, buffer, BUFFER_SIZE); if (buflen < 0) return gpg_error_from_errno (errno); if (buflen == 0) -- 2.26.2