Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / tap-sipstat.c
index 2aa6bdf8ae299c70e312afe83e4f023e1fed79d4..190506a099cded2c2c6376eec5a515a8156fa198 100644 (file)
@@ -344,10 +344,10 @@ sipstat_draw(void *psp  )
 }
 
 static void
-sipstat_init(char *optarg)
+sipstat_init(const char *optarg)
 {
        sipstat_t *sp;
-       char *filter=NULL;
+       const char *filter=NULL;
        GString *error_string;
 
        if (strncmp (optarg, "sip,stat,", 9) == 0){