diff options
Diffstat (limited to 'common/maperror.c')
-rw-r--r-- | common/maperror.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/common/maperror.c b/common/maperror.c index 361166388..b04ec0bb3 100644 --- a/common/maperror.c +++ b/common/maperror.c @@ -72,6 +72,10 @@ map_assuan_err (int err) case ASSUAN_Not_Confirmed: ec = GPG_ERR_NOT_CONFIRMED; break; case ASSUAN_Invalid_Id: ec = GPG_ERR_INV_ID; break; +#if 0 /* FIXME: Enable this after releasing libgpg error 0.7 */ + case ASSUAN_Locale_Problem: ec = GPG_ERR_LOCALE_PROBLEM; break; +#endif + default: ec = err < 100? GPG_ERR_ASSUAN_SERVER_FAULT : GPG_ERR_ASSUAN; break; @@ -101,14 +105,3 @@ map_to_assuan_status (int rc) return gpg_err_make (es, ec); } - - - - - - - - - - - |