Procházet zdrojové kódy

Fix: tc_http strnstr compiler bug in linux

ruanshudong před 2 roky
rodič
revize
ee8df79bc7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      util/src/tc_http.cpp

+ 1 - 1
util/src/tc_http.cpp

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