upnperrors.c: add 60x errors from UPnP Device Architecture

This commit is contained in:
Thomas Bernard 2023-05-30 00:28:04 +02:00
parent f91a32ff02
commit cd703d4cd0
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 20 additions and 2 deletions

View File

@ -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
* Project : miniupnp
* Author : Thomas BERNARD
* copyright (c) 2007-2019 Thomas Bernard
* copyright (c) 2007-2023 Thomas Bernard
* All Right reserved.
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
* This software is subjet to the conditions detailed in the
@ -47,6 +47,24 @@ const char * strupnperror(int err)
case 501:
s = "Action Failed";
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:
s = "Action not authorized";
break;