mirror of https://github.com/axmolengine/axmol.git
Wrong assert logic fix in HttpClient. (#17330)
* Wrong assert logic fix in HttpClient. * Updates assert prompt
This commit is contained in:
parent
828fabdeb3
commit
55a97f6107
|
@ -508,7 +508,7 @@ void HttpClient::processResponse(HttpResponse* response, char* responseMessage)
|
|||
break;
|
||||
|
||||
default:
|
||||
CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
|
||||
CCASSERT(false, "CCHttpClient: unknown request type, only GET,POST,PUT or DELETE is supported");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -558,7 +558,7 @@ void HttpClient::processResponse(HttpResponse* response, char* responseMessage)
|
|||
break;
|
||||
|
||||
default:
|
||||
CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
|
||||
CCASSERT(false, "CCHttpClient: unknown request type, only GET,POST,PUT or DELETE is supported");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue