Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / gtk / hostlist_jxta.c
index 10017a36a4efcd0da789571ed6f4bf5a91aebf05..a31699cc29e24c849433dbe6f348fd77441f1f5a 100644 (file)
@@ -55,9 +55,9 @@ jxta_hostlist_packet(void *pit, packet_info *pinfo _U_, epan_dissect_t *edt _U_,
 }
 
 static void
-gtk_jxta_hostlist_init(char *optarg)
+gtk_jxta_hostlist_init(const char *optarg)
 {
-       char *filter=NULL;
+       const char *filter=NULL;
 
        if(!strncmp(optarg,"hosts,jxta,",11)){
                filter=optarg+11;