diff --git a/libs/sofia-sip/libsofia-sip-ua/su/su_taglist.c b/libs/sofia-sip/libsofia-sip-ua/su/su_taglist.c index 03d4f6f6a3..65037c2d18 100644 --- a/libs/sofia-sip/libsofia-sip-ua/su/su_taglist.c +++ b/libs/sofia-sip/libsofia-sip-ua/su/su_taglist.c @@ -411,7 +411,7 @@ int tl_gets(tagi_t const lst[], tag_type_t tag, tag_value_t value, ...) #if !defined(NDEBUG) else if (tt->tt_class && tt->tt_class->tc_ref_set) { fprintf(stderr, "WARNING: tag %s::%s directly used by tl_gets()\n", - tt->tt_ns, tt->tt_name); + tt->tt_ns ? tt->tt_ns : "", tt->tt_name ? tt->tt_name : ""); assert(tt->tt_class == ref_tag_class); } #endif