aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gpg-error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpg-error.c b/src/gpg-error.c
index 4a09e1d..f890883 100644
--- a/src/gpg-error.c
+++ b/src/gpg-error.c
@@ -381,6 +381,9 @@ print_desc (const char *symbol)
int blanklines = 0;
int last_was_keyword = 0;
+ if (!symbol)
+ return;
+
if (!initialized)
{
initialized = 1;