aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/rungpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/rungpg.c')
-rw-r--r--gpgme/rungpg.c2
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)