X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fprogress.c;h=613162fe9496aa87f8f8088f2cabe5aca15042ad;hp=4563ea427177622fd6514243ef21e9519c4bef3b;hb=2e7aa7f76d7c45ba9d42be1f4425c9b7a67edf51;hpb=c9049f94d77b1fe100b53848b545e5b1e61d7df3 diff --git a/src/progress.c b/src/progress.c index 4563ea42..613162fe 100644 --- a/src/progress.c +++ b/src/progress.c @@ -76,7 +76,7 @@ static int current_impl_locked; #define DEFAULT_PROGRESS_IMPLEMENTATION "bar" -/* Fallnback progress implementation should be something that works +/* Fallback progress implementation should be something that works under all display types. If you put something other than "dot" here, remember that bar_set_params tries to switch to this if we're not running on a TTY. So changing this to "bar" could cause @@ -108,7 +108,7 @@ set_progress_implementation (const char *name) { int i, namelen; struct progress_implementation *pi = implementations; - char *colon; + const char *colon; if (!name) name = DEFAULT_PROGRESS_IMPLEMENTATION;