diff options
author | Marcus Brinkmann <[email protected]> | 2006-07-29 13:42:10 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2006-07-29 13:42:10 +0000 |
commit | f3285b560992a39614c13dd5d738493c8d357d3a (patch) | |
tree | a196c96b066ba13689477eadee17df2854414ad2 | |
parent | doc/ (diff) | |
download | gpgme-f3285b560992a39614c13dd5d738493c8d357d3a.tar.gz gpgme-f3285b560992a39614c13dd5d738493c8d357d3a.zip |
2006-07-29 Marcus Brinkmann <[email protected]>
* rungpg.c (read_status): Fix comparison disguising as an
assignment.
Diffstat (limited to '')
-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) |