Fix: tc_http strnstr compiler bug in linux

pull/236/head
ruanshudong 2022-04-29 14:08:46 +08:00
parent b42e3acd4a
commit ee8df79bc7
1 changed files with 1 additions and 1 deletions

View File

@ -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 )