mirror of
https://github.com/sheumann/hush.git
synced 2024-10-01 18:57:10 +00:00
Small tweak cherry-picked from Devin Bayer's monster MacOS X patch.
This commit is contained in:
parent
87b9573ff8
commit
6f2a0b2275
@ -238,7 +238,7 @@ int wget_main(int argc, char **argv)
|
|||||||
if (!fname_out) {
|
if (!fname_out) {
|
||||||
// Dirty hack. Needed because bb_get_last_path_component
|
// Dirty hack. Needed because bb_get_last_path_component
|
||||||
// will destroy trailing / by storing '\0' in last byte!
|
// will destroy trailing / by storing '\0' in last byte!
|
||||||
if(target.path[strlen(target.path)-1]!='/') {
|
if(*target.path && target.path[strlen(target.path)-1]!='/') {
|
||||||
fname_out =
|
fname_out =
|
||||||
#ifdef CONFIG_FEATURE_WGET_STATUSBAR
|
#ifdef CONFIG_FEATURE_WGET_STATUSBAR
|
||||||
curfile =
|
curfile =
|
||||||
|
Loading…
Reference in New Issue
Block a user