mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +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)
|
if (!conn)
|
||||||
return false;
|
return false;
|
||||||
if (*conn->scan != '/' && *conn->scan != ':' && *conn->scan != '\0')
|
while (*conn->scan != '/' && *conn->scan != ':' && *conn->scan != '\0')
|
||||||
{
|
{
|
||||||
conn->scan++;
|
conn->scan++;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user