json: Fix cosmetic error in the repl.
* src/gpgme-json.c (native_messaging_repl): Use correct var with sizeof. -- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b159b2eddd
commit
1bdab961c5
@ -3758,7 +3758,7 @@ native_messaging_repl (void)
|
|||||||
log_error ("error writing request header: %s\n", gpg_strerror (err));
|
log_error ("error writing request header: %s\n", gpg_strerror (err));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (n != sizeof nrequest)
|
if (n != sizeof nresponse)
|
||||||
{
|
{
|
||||||
log_error ("error writing request header: short write\n");
|
log_error ("error writing request header: short write\n");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user