strupnperror(): add 2 more error codes
This commit is contained in:
parent
08b80d5abd
commit
c8566d6ebd
|
@ -27,10 +27,14 @@ const char * strupnperror(int err)
|
|||
case UPNPCOMMAND_INVALID_RESPONSE:
|
||||
s = "Miniupnpc Invalid response";
|
||||
break;
|
||||
case UPNPCOMMAND_HTTP_ERROR:
|
||||
s = "Miniupnpc HTTP error";
|
||||
break;
|
||||
case UPNPDISCOVER_SOCKET_ERROR:
|
||||
s = "Miniupnpc Socket error";
|
||||
break;
|
||||
case UPNPDISCOVER_MEMORY_ERROR:
|
||||
case UPNPCOMMAND_MEM_ALLOC_ERROR:
|
||||
s = "Miniupnpc Memory allocation error";
|
||||
break;
|
||||
case 401:
|
||||
|
|
Loading…
Reference in New Issue