mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Why exactly are we iterating over this string one character per frame?
This commit is contained in:
parent
dcd5391a75
commit
bbb7871028
@ -215,10 +215,9 @@ bool net_http_connection_iterate(struct http_connection_t *conn)
|
||||
{
|
||||
if (!conn)
|
||||
return false;
|
||||
if (*conn->scan != '/' && *conn->scan != ':' && *conn->scan != '\0')
|
||||
while (*conn->scan != '/' && *conn->scan != ':' && *conn->scan != '\0')
|
||||
{
|
||||
conn->scan++;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user