[svn] assuan - r211 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Thu Sep 28 18:27:23 CEST 2006
Author: marcus
Date: 2006-09-28 18:27:23 +0200 (Thu, 28 Sep 2006)
New Revision: 211
Modified:
trunk/src/ChangeLog
trunk/src/assuan-client.c
Log:
2006-09-28 Marcus Brinkmann <marcus at g10code.de>
* assuan-client.c (assuan_transact): Do not convert error on
status line, it is already a gpg-error. Do convert
ASSUAN_Server_Fault.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2006-09-19 13:34:48 UTC (rev 210)
+++ trunk/src/ChangeLog 2006-09-28 16:27:23 UTC (rev 211)
@@ -1,3 +1,9 @@
+2006-09-28 Marcus Brinkmann <marcus at g10code.de>
+
+ * assuan-client.c (assuan_transact): Do not convert error on
+ status line, it is already a gpg-error. Do convert
+ ASSUAN_Server_Fault.
+
2006-09-19 Marcus Brinkmann <marcus at g10code.de>
* assuan.h (assuan_init_socket_server_ext)
Modified: trunk/src/assuan-client.c
===================================================================
--- trunk/src/assuan-client.c 2006-09-19 13:34:48 UTC (rev 210)
+++ trunk/src/assuan-client.c 2006-09-28 16:27:23 UTC (rev 211)
@@ -161,9 +161,9 @@
if (!okay)
{
- rc = _assuan_error (atoi (line));
+ rc = atoi (line);
if (rc < 100)
- rc = ASSUAN_Server_Fault;
+ rc = _assuan_error (ASSUAN_Server_Fault);
}
else if (okay == 2)
{
More information about the Gnupg-commits
mailing list