X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Finit.c;fp=src%2Finit.c;h=9a6fd2b5c4f5e76780c4ecc5d6056518d4971512;hp=804e473aae2f238fdf28cfccd7a17a9a31c68a8a;hb=8624553a31b148f9051cc11725bc01d9760fa07b;hpb=4eeabffee6e5b348d36c4f3ba0579ed086226603 diff --git a/src/init.c b/src/init.c index 804e473a..9a6fd2b5 100644 --- a/src/init.c +++ b/src/init.c @@ -150,7 +150,7 @@ static const struct { { "certificatetype", &opt.cert_type, cmd_cert_type }, { "checkcertificate", &opt.check_cert, cmd_boolean }, #endif - { "chooseconfig", &opt.choose_config, cmd_file }, + { "chooseconfig", &opt.choose_config, cmd_file }, { "connecttimeout", &opt.connect_timeout, cmd_time }, { "contentdisposition", &opt.content_disposition, cmd_boolean }, { "contentonerror", &opt.content_on_error, cmd_boolean }, @@ -821,16 +821,16 @@ setval_internal_tilde (int comind, const char *com, const char *val) pstring = commands[comind].place; home = home_dir (); if (home) - { - homelen = strlen (home); - while (homelen && ISSEP (home[homelen - 1])) - home[--homelen] = '\0'; - - /* Skip the leading "~/". */ - for (++val; ISSEP (*val); val++) - ; - *pstring = concat_strings (home, "/", val, (char *)0); - } + { + homelen = strlen (home); + while (homelen && ISSEP (home[homelen - 1])) + home[--homelen] = '\0'; + + /* Skip the leading "~/". */ + for (++val; ISSEP (*val); val++) + ; + *pstring = concat_strings (home, "/", val, (char *)0); + } } return ret; }