Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / tap-httpstat.c
index df36c6930b684c08a1dec983700b3d1a58368992..6d4db1306376273d73cc79acb18daf29f19efc24 100644 (file)
@@ -280,10 +280,10 @@ httpstat_draw(void *psp  )
 /* When called, this function will create a new instance of gtk_httpstat.
  */
 static void
-gtk_httpstat_init(char *optarg)
+gtk_httpstat_init(const char *optarg)
 {
        httpstat_t *sp;
-       char *filter=NULL;
+       const char *filter=NULL;
        GString *error_string;
        
        if (!strncmp (optarg, "http,stat,", 10)){