[Pkg-gnupg-commit] [libassuan] 182/437: 2006-12-02 Marcus Brinkmann <marcus at g10code.de>
Eric Dorland
eric at moszumanska.debian.org
Fri May 22 05:33:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libassuan.
commit bf75c2ea3aad7ec4151bc418baf727314c8ddf25
Author: Marcus Brinkmann <mb at g10code.com>
Date: Sat Dec 2 23:24:31 2006 +0000
2006-12-02 Marcus Brinkmann <marcus at g10code.de>
* assuan-uds.c (uds_reader): Return 0 if recvmsg returns 0.
---
src/ChangeLog | 4 ++++
src/assuan-uds.c | 2 ++
2 files changed, 6 insertions(+)
diff --git a/src/ChangeLog b/src/ChangeLog
index 73fa396..c744ab1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-02 Marcus Brinkmann <marcus at g10code.de>
+
+ * assuan-uds.c (uds_reader): Return 0 if recvmsg returns 0.
+
2006-12-01 Marcus Brinkmann <marcus at g10code.de>
* assuan-client.c (assuan_transact): Also translate some of the
diff --git a/src/assuan-uds.c b/src/assuan-uds.c
index 77945fb..266dc80 100644
--- a/src/assuan-uds.c
+++ b/src/assuan-uds.c
@@ -111,6 +111,8 @@ uds_reader (assuan_context_t ctx, void *buf, size_t buflen)
len = _assuan_simple_recvmsg (ctx, &msg);
if (len < 0)
return -1;
+ if (len == 0)
+ return 0;
ctx->uds.buffersize = len;
ctx->uds.bufferoffset = 0;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libassuan.git
More information about the Pkg-gnupg-commit
mailing list