Commit f2fb9039 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Make some arrays of pointers const, too.

parent a28b32aa
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ struct getout {
static void help(void)
{
  int i;
  static const char *helptext[]={
  static const char * const helptext[]={
    "Usage: curl [options...] <url>",
    "Options: (H) means HTTP/HTTPS only, (F) means FTP only",
    " -a/--append        Append to target file when uploading (F)",
@@ -3662,7 +3662,7 @@ operate(struct Configurable *config, int argc, char *argv[])

            if(retry) {
              if(!(config->conf&CONF_MUTE)) {
                static const char *m[]={NULL,
                static const char * const m[]={NULL,
                                              "timeout",
                                              "HTTP error",
                                              "FTP error"