mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-27 14:29:42 +03:00
Minor optimisation
svn path=/trunk/netsurf/; revision=6300
This commit is contained in:
parent
a3f46b12ef
commit
a2fbddea60
@ -943,7 +943,7 @@ const char *urldb_get_auth_details(const char *url)
|
||||
* We look for this here.
|
||||
*/
|
||||
for (q = p->children; q; q = q->next) {
|
||||
if (strlen(q->segment) == 0)
|
||||
if (q->segment[0] == '\0')
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user