diff options
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index 3a2a68e61..b6e7e55b8 100644 --- a/g10/options.h +++ b/g10/options.h @@ -257,6 +257,11 @@ EXTERN_UNLESS_MAIN_MODULE struct { int in_auto_key_retrieve; /* True if we are doing an auto_key_retrieve. */ + /* Hack to store the last error. We currently need it because the + proc_packet machinery is not able to reliabale return error + codes. Thus for the --server purposes we store some of the error + codes here. FIXME! */ + gpg_error_t lasterr; } glo_ctrl; #define DBG_PACKET_VALUE 1 /* debug packet reading/writing */ |