Minor optimisation

svn path=/trunk/netsurf/; revision=6300
This commit is contained in:
John Mark Bell 2009-01-30 18:50:55 +00:00
parent a3f46b12ef
commit a2fbddea60
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}