Parcourir la source

Fix: tc_http compiler bug

ruanshudong il y a 2 ans
Parent
commit
b42e3acd4a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      util/src/tc_http.cpp

+ 1 - 1
util/src/tc_http.cpp

@@ -1934,7 +1934,7 @@ namespace tars
 
 			const char *line    = p;
 
-			const char *lineEnd = TC_Port::strstr(line, "\r\n");
+			const char *lineEnd = strstr(line, "\r\n");
 			if (lineEnd != NULL)
 			{
 				p = lineEnd + 2;