treat CR as LF in cubescript

this hopefully doesn't break too much stuff...
This commit is contained in:
ac-stef
2016-10-16 13:38:34 +02:00
parent c71420897e
commit 1b5877e3fc
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ int httpget::get(const char *url1, uint timeout, uint totaltimeout, int range, b
*r = '\0';
again = set_host(p);
*r = '/';
p = r + strcspn(r, " \r\n");
p = r + strcspn(r, " \n\r");
*p = '\0';
const char *nurl = newstring(r);
reset(1);