diff options
author | Werner Koch <[email protected]> | 2002-06-26 12:51:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-06-26 12:51:24 +0000 |
commit | d905375003bb0e05c147aa83d57a6418955fdbc8 (patch) | |
tree | 32c8ece8a594586b1182143d5328e32ae404da51 /common/maperror.c | |
parent | * assuan-buffer.c (assuan_write_line): Make sure we never (diff) | |
download | gnupg-d905375003bb0e05c147aa83d57a6418955fdbc8.tar.gz gnupg-d905375003bb0e05c147aa83d57a6418955fdbc8.zip |
* maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
Diffstat (limited to '')
-rw-r--r-- | common/maperror.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/maperror.c b/common/maperror.c index 0b4cc0a4d..c982965d8 100644 --- a/common/maperror.c +++ b/common/maperror.c @@ -196,6 +196,9 @@ map_to_assuan_status (int rc) { switch (rc) { + case -1: + rc = ASSUAN_No_Data_Available; + break; case 0: break; case GNUPG_Bad_CA_Certificate: case GNUPG_Bad_Certificate: |