mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
(map_assuan_err): Prepared for a new error code.
This commit is contained in:
parent
02f20a7506
commit
6103066b17
@ -1,3 +1,7 @@
|
||||
2003-12-23 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* maperror.c (map_assuan_err): Prepared for a new error code.
|
||||
|
||||
2003-12-17 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user