mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
parent
6e054623b4
commit
1870fd2832
4 changed files with 4 additions and 4 deletions
|
|
@ -628,7 +628,7 @@ static CURLUcode seturl(const char *url, CURLU *u, unsigned int flags)
|
|||
|
||||
/* handle the file: scheme */
|
||||
if(url_has_scheme && strcasecompare(schemebuf, "file")) {
|
||||
/* path has been allocated large anough to hold this */
|
||||
/* path has been allocated large enough to hold this */
|
||||
strcpy(path, &url[5]);
|
||||
|
||||
hostname = NULL; /* no host for file: URLs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue