Browse Source

Fix: tc_http compiler bug

ruanshudong 2 years ago
parent
commit
b42e3acd4a
1 changed files with 1 additions and 1 deletions
  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;