Advertisement
NittyGritty

Fehlermeldung

Mar 22nd, 2017
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1. void AsyncFSWebServer::handleFileDelete(AsyncWebServerRequest *request) {
  2.     if (!checkAuth(request))
  3.         return request->requestAuthentication();
  4.     if (request->args() == 0) return request->send(500, "text/plain", "BAD ARGS");
  5.     String path = request->arg(0);
  6.     DEBUGLOG("handleFileDelete: %s\r\n", path.c_str());
  7.  
  8. ----
  9.  
  10. sketch\FSWebServerLib.cpp: In member function 'void AsyncFSWebServer::handleFileCreate(AsyncWebServerRequest*)':
  11.  
  12. FSWebServerLib.cpp:571: error: call of overloaded 'arg(int)' is ambiguous
  13.  
  14.      String path = request->arg(0);
  15.  
  16.                                  ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement