From: Christopher Faylor Date: Thu, 13 Apr 2000 06:00:57 +0000 (+0000) Subject: * setup.c (processdirlisting): Fix handling of "A" for "A"lways download. X-Git-Tag: cygwin-1_1_1~40 X-Git-Url: https://cygwin.com/git/?a=commitdiff_plain;h=35d1886101d63b5e50cb35ec23d41eac81dca18a;p=cygwin-apps%2Fsetup.git * setup.c (processdirlisting): Fix handling of "A" for "A"lways download. --- diff --git a/ChangeLog b/ChangeLog index 0b48104c..b57a3e52 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 13 01:59:44 2000 Christopher Faylor + + * setup.c (processdirlisting): Fix handling of "A" for "A"lways + download. + Thu Apr 13 01:11:45 2000 Christopher Faylor * path.c (kill_cygpath): New cleanup function. diff --git a/setup.c b/setup.c index 14b1669a..b7b21de3 100644 --- a/setup.c +++ b/setup.c @@ -619,7 +619,7 @@ processdirlisting (HINTERNET session, const char *urlbase, const char *file) char *answer; sprintf (text, "Replace %s from the net (ynAN)", filename); - answer = prompt (text, "yes"); + answer = prompt (text, "y"); if (answer) { @@ -628,10 +628,11 @@ processdirlisting (HINTERNET session, const char *urlbase, const char *file) case 'a': case 'A': download_when = ALWAYS; - /* purposely fall through */; + /* purposely fall through */ case 'y': case 'Y': download = 1; + break; case 'N': download_when = NEVER; case 'n':