Skip to content

Commit fb9174d

Browse files
authored
Merge pull request #44 from curl/bagder/typo
wcurl: fix typo in comment
2 parents 54ea860 + 998bfb2 commit fb9174d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcurl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ get_url_filename()
171171
hostname_and_path="$(printf %s "${1}" | sed -e 's,^[^/]*//,,' -e 's,?.*$,,')"
172172
# If what remains contains a slash, there's a path; return it percent-decoded.
173173
case "${hostname_and_path}" in
174-
# sed to remove everything preceeding the last '/', e.g.: "example/something" becomes "something"
174+
# sed to remove everything preceding the last '/', e.g.: "example/something" becomes "something"
175175
*/*) percent_decode "$(printf %s "${hostname_and_path}" | sed -e 's,^.*/,,')";;
176176
esac
177177
# No slash means there was just a hostname and no path; return empty string.

0 commit comments

Comments
 (0)