upnperrors.c: add 60x errors from UPnP Device Architecture
This commit is contained in:
parent
f91a32ff02
commit
cd703d4cd0
|
@ -1,8 +1,8 @@
|
||||||
/* $Id: upnperrors.c,v 1.10 2019/08/24 08:49:53 nanard Exp $ */
|
/* $Id: upnperrors.c,v 1.11 2023/05/29 21:59:15 nanard Exp $ */
|
||||||
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
||||||
* Project : miniupnp
|
* Project : miniupnp
|
||||||
* Author : Thomas BERNARD
|
* Author : Thomas BERNARD
|
||||||
* copyright (c) 2007-2019 Thomas Bernard
|
* copyright (c) 2007-2023 Thomas Bernard
|
||||||
* All Right reserved.
|
* All Right reserved.
|
||||||
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
||||||
* This software is subjet to the conditions detailed in the
|
* This software is subjet to the conditions detailed in the
|
||||||
|
@ -47,6 +47,24 @@ const char * strupnperror(int err)
|
||||||
case 501:
|
case 501:
|
||||||
s = "Action Failed";
|
s = "Action Failed";
|
||||||
break;
|
break;
|
||||||
|
case 600:
|
||||||
|
s = "Argument Value Invalid";
|
||||||
|
break;
|
||||||
|
case 601:
|
||||||
|
s = "Argument Value Out of Range";
|
||||||
|
break;
|
||||||
|
case 602:
|
||||||
|
s = "Optional Action Not Implemented";
|
||||||
|
break;
|
||||||
|
case 603:
|
||||||
|
s = "Out of Memory";
|
||||||
|
break;
|
||||||
|
case 604:
|
||||||
|
s = "Human Intervention Required";
|
||||||
|
break;
|
||||||
|
case 605:
|
||||||
|
s = "String Argument Too Long";
|
||||||
|
break;
|
||||||
case 606:
|
case 606:
|
||||||
s = "Action not authorized";
|
s = "Action not authorized";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue