[svn] gpgme - r1178 - trunk/gpgme
svn author marcus
cvs at cvs.gnupg.org
Sat Jul 29 15:42:10 CEST 2006
Author: marcus
Date: 2006-07-29 15:42:10 +0200 (Sat, 29 Jul 2006)
New Revision: 1178
Modified:
trunk/gpgme/ChangeLog
trunk/gpgme/rungpg.c
Log:
2006-07-29 Marcus Brinkmann <marcus at g10code.de>
* rungpg.c (read_status): Fix comparison disguising as an
assignment.
Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog 2006-07-16 13:36:04 UTC (rev 1177)
+++ trunk/gpgme/ChangeLog 2006-07-29 13:42:10 UTC (rev 1178)
@@ -1,3 +1,8 @@
+2006-07-29 Marcus Brinkmann <marcus at g10code.de>
+
+ * rungpg.c (read_status): Fix comparison disguising as an
+ assignment.
+
2005-03-24 Marcus Brinkmann <marcus at g10code.de>
* gpgme.c (gpgme_set_locale): Remove conditional on
Modified: trunk/gpgme/rungpg.c
===================================================================
--- trunk/gpgme/rungpg.c 2006-07-16 13:36:04 UTC (rev 1177)
+++ trunk/gpgme/rungpg.c 2006-07-29 13:42:10 UTC (rev 1178)
@@ -845,7 +845,7 @@
if (*p == '\n')
{
/* (we require that the last line is terminated by a LF) */
- if (p > buffer && p[-1] = '\r')
+ if (p > buffer && p[-1] == '\r')
p[-1] = 0;
*p = 0;
if (!strncmp (buffer, "[GNUPG:] ", 9)
More information about the Gnupg-commits
mailing list