]> sjero.net Git - wget/commitdiff
[svn] Constify variable.
authorhniksic <devnull@localhost>
Sun, 26 Jun 2005 23:04:56 +0000 (16:04 -0700)
committerhniksic <devnull@localhost>
Sun, 26 Jun 2005 23:04:56 +0000 (16:04 -0700)
src/ChangeLog
src/progress.c

index 9fca8864032d709f9d7b7faa26d6a06419ce2148..6976327e64c5abc98e47818753c6d8c3e0755246 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (set_progress_implementation): Type COLON as const
+       char *.
+
 2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * utils.c (with_thousand_seps): Handle negative numbers.
index 4563ea427177622fd6514243ef21e9519c4bef3b..613162fe9496aa87f8f8088f2cabe5aca15042ad 100644 (file)
@@ -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;