diff options
| -rw-r--r-- | gpgme/ChangeLog | 5 | ||||
| -rw-r--r-- | gpgme/rungpg.c | 2 | 
2 files changed, 6 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index a1b4fe9e..e09335a9 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2006-07-29  Marcus Brinkmann  <[email protected]> + +	* rungpg.c (read_status): Fix comparison disguising as an +	assignment. +  2005-03-24  Marcus Brinkmann  <[email protected]>  	* gpgme.c (gpgme_set_locale): Remove conditional on diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index 349b24dd..9b6cb2ed 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -845,7 +845,7 @@ read_status (engine_gpg_t gpg)  	  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)  | 
