mirror of https://github.com/TarsCloud/TarsCpp
Fix: tc_http strnstr compiler bug in linux
parent
b42e3acd4a
commit
ee8df79bc7
|
@ -1963,7 +1963,7 @@ namespace tars
|
|||
const char * pCur = header + 4;
|
||||
while (true)
|
||||
{
|
||||
p = strnstr(pCur, "\r\n", remain_len);
|
||||
p = TC_Port::strnstr(pCur, "\r\n", remain_len);
|
||||
|
||||
// p = strstr(pCur , "\r\n");
|
||||
if ( p == NULL )
|
||||
|
|
Loading…
Reference in New Issue