NittyGritty icon

Fehlermeldung

NittyGritty | PRO | 03/22/17 10:09:28 AM UTC | 0 ⭐ | 497 👁️ | Never ⏰ | []
C++ |

590 B

|

None

|

0 👍

/

0 👎

void AsyncFSWebServer::handleFileDelete(AsyncWebServerRequest *request) {
    if (!checkAuth(request))
        return request->requestAuthentication();
    if (request->args() == 0) return request->send(500, "text/plain", "BAD ARGS");
    String path = request->arg(0);
    DEBUGLOG("handleFileDelete: %s\r\n", path.c_str());
 
----
 
sketch\FSWebServerLib.cpp: In member function 'void AsyncFSWebServer::handleFileCreate(AsyncWebServerRequest*)':
 
FSWebServerLib.cpp:571: error: call of overloaded 'arg(int)' is ambiguous
 
     String path = request->arg(0);
 
                                 ^

Comments