2006-07-29 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (read_status): Fix comparison disguising as an assignment.
This commit is contained in:
parent
fba48de1ee
commit
f3285b5609
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-29 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* rungpg.c (read_status): Fix comparison disguising as an
|
||||||
|
assignment.
|
||||||
|
|
||||||
2005-03-24 Marcus Brinkmann <marcus@g10code.de>
|
2005-03-24 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.c (gpgme_set_locale): Remove conditional on
|
* gpgme.c (gpgme_set_locale): Remove conditional on
|
||||||
|
@ -845,7 +845,7 @@ read_status (engine_gpg_t gpg)
|
|||||||
if (*p == '\n')
|
if (*p == '\n')
|
||||||
{
|
{
|
||||||
/* (we require that the last line is terminated by a LF) */
|
/* (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[-1] = 0;
|
||||||
*p = 0;
|
*p = 0;
|
||||||
if (!strncmp (buffer, "[GNUPG:] ", 9)
|
if (!strncmp (buffer, "[GNUPG:] ", 9)
|
||||||
|
Loading…
Reference in New Issue
Block a user