diff --git a/miniupnpc/upnperrors.c b/miniupnpc/upnperrors.c index a48ae10..d459fe0 100644 --- a/miniupnpc/upnperrors.c +++ b/miniupnpc/upnperrors.c @@ -97,7 +97,8 @@ const char * strupnperror(int err) s = "ExternalPortOnlySupportsWildcard"; break; default: - s = NULL; + s = "UnknownError"; + break; } return s; }