Selaa lähdekoodia

Fix: tc_http compiler bug

ruanshudong 2 vuotta sitten
vanhempi
commit
b42e3acd4a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;