diff options
Diffstat (limited to 'gpgme/rungpg.c')
-rw-r--r-- | gpgme/rungpg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |