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:
|
case UPNPCOMMAND_INVALID_RESPONSE:
|
||||||
s = "Miniupnpc Invalid response";
|
s = "Miniupnpc Invalid response";
|
||||||
break;
|
break;
|
||||||
|
case UPNPCOMMAND_HTTP_ERROR:
|
||||||
|
s = "Miniupnpc HTTP error";
|
||||||
|
break;
|
||||||
case UPNPDISCOVER_SOCKET_ERROR:
|
case UPNPDISCOVER_SOCKET_ERROR:
|
||||||
s = "Miniupnpc Socket error";
|
s = "Miniupnpc Socket error";
|
||||||
break;
|
break;
|
||||||
case UPNPDISCOVER_MEMORY_ERROR:
|
case UPNPDISCOVER_MEMORY_ERROR:
|
||||||
|
case UPNPCOMMAND_MEM_ALLOC_ERROR:
|
||||||
s = "Miniupnpc Memory allocation error";
|
s = "Miniupnpc Memory allocation error";
|
||||||
break;
|
break;
|
||||||
case 401:
|
case 401:
|
||||||
|
|
Loading…
Reference in New Issue