mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Remove spurious *
svn path=/trunk/netsurf/; revision=3946
This commit is contained in:
parent
9597b5359c
commit
b087dfb3da
@ -1045,10 +1045,12 @@ url_func_result url_get_components(const char *url,
|
||||
if (isalpha(*scheme)) {
|
||||
for (scheme = url + 1;
|
||||
((*scheme != ':') && (*scheme != '\0'));
|
||||
*scheme++)
|
||||
scheme++) {
|
||||
if (!isalnum(*scheme) && (*scheme != '+') &&
|
||||
(*scheme != '-') && (*scheme != '.'))
|
||||
break;
|
||||
}
|
||||
|
||||
if (*scheme == ':') {
|
||||
memcpy(storage_end, url, scheme - url);
|
||||
storage_end[scheme - url] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user