diff options
Diffstat (limited to 'src/status-table.c')
-rw-r--r-- | src/status-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status-table.c b/src/status-table.c index f44a08fb..c9bf3577 100644 --- a/src/status-table.c +++ b/src/status-table.c @@ -178,6 +178,6 @@ _gpgme_status_to_string (gpgme_status_code_t code) for (i=0; i < DIM(status_table); i++) if (status_table[i].code == code) - return status_table[i].name; + return status_table[i].name? status_table[i].name : ""; return "status_code_lost"; } |