core: Map GPGME_STATUS_EOF to the empty string.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Sep 2016 13:06:26 +0000 (15:06 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Sep 2016 14:00:27 +0000 (16:00 +0200)
commit3d6340e8c59ee11a95e03fb213ad9b228be47833
tree0972fd52980116b2f773a4d5dbed2fd0d029b57e
parent6af7bee076bacbc0cdfe7de342bce43ca5671b3b
core: Map GPGME_STATUS_EOF to the empty string.

* src/status-table.c (_gpgme_status_to_string): Return "" for EOF.
* src/engine-gpg.c (read_status): Ditto.  The old code accidently used
GPGME_STATUS_EOF which is the integer 0 and neiteyr NULL nor a string.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpgme.texi
src/engine-gpg.c
src/status-table.c