[svn] assuan - r233 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Sun Dec 3 00:24:31 CET 2006
Author: marcus
Date: 2006-12-03 00:24:31 +0100 (Sun, 03 Dec 2006)
New Revision: 233
Modified:
trunk/src/ChangeLog
trunk/src/assuan-uds.c
Log:
2006-12-02 Marcus Brinkmann <marcus at g10code.de>
* assuan-uds.c (uds_reader): Return 0 if recvmsg returns 0.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2006-12-01 13:44:05 UTC (rev 232)
+++ trunk/src/ChangeLog 2006-12-02 23:24:31 UTC (rev 233)
@@ -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
Modified: trunk/src/assuan-uds.c
===================================================================
--- trunk/src/assuan-uds.c 2006-12-01 13:44:05 UTC (rev 232)
+++ trunk/src/assuan-uds.c 2006-12-02 23:24:31 UTC (rev 233)
@@ -111,6 +111,8 @@
len = _assuan_simple_recvmsg (ctx, &msg);
if (len < 0)
return -1;
+ if (len == 0)
+ return 0;
ctx->uds.buffersize = len;
ctx->uds.bufferoffset = 0;
More information about the Gnupg-commits
mailing list