mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-14 00:22:29 +00:00
upnperrors.c returns valid error string for unrecognized error codes
This commit is contained in:
parent
88fc495942
commit
7b1696aff3
@ -97,7 +97,8 @@ const char * strupnperror(int err)
|
||||
s = "ExternalPortOnlySupportsWildcard";
|
||||
break;
|
||||
default:
|
||||
s = NULL;
|
||||
s = "UnknownError";
|
||||
break;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user