Remove whitespace at end of line I happened to find during my last edit.
This commit is contained in:
parent
f855f63e6a
commit
52c15acab2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82545
@ -201,7 +201,7 @@ url_get(origline, proxyenv)
|
|||||||
if (portnum != NULL)
|
if (portnum != NULL)
|
||||||
*portnum++ = '\0';
|
*portnum++ = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
printf("host %s, port %s, path %s, save as %s.\n",
|
printf("host %s, port %s, path %s, save as %s.\n",
|
||||||
host, portnum, uri, savefile);
|
host, portnum, uri, savefile);
|
||||||
@ -569,7 +569,7 @@ auto_fetch(argc, argv)
|
|||||||
*portnum++ = '\0';
|
*portnum++ = '\0';
|
||||||
} else { /* classic style `host:file' */
|
} else { /* classic style `host:file' */
|
||||||
char *end_brace;
|
char *end_brace;
|
||||||
|
|
||||||
if (*host == '[' &&
|
if (*host == '[' &&
|
||||||
(end_brace = strrchr(host, ']')) != NULL) {
|
(end_brace = strrchr(host, ']')) != NULL) {
|
||||||
/*IPv6 addr in []*/
|
/*IPv6 addr in []*/
|
||||||
|
Loading…
Reference in New Issue
Block a user