aboutsummaryrefslogtreecommitdiffstats
path: root/src/version.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 084f2a52..879e2f3e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -179,7 +179,8 @@ gpgme_check_version (const char *req_version)
automagically initialize the debug system with out the locks
being initialized and missing the assuan log level setting. */
TRACE2 (DEBUG_INIT, "gpgme_check_version: ", 0,
- "req_version=%s, VERSION=%s", req_version, VERSION);
+ "req_version=%s, VERSION=%s",
+ req_version? req_version:"(null)", VERSION);
return _gpgme_compare_versions (VERSION, req_version) ? VERSION : NULL;
}