summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>2004-03-14 14:04:39 +0000
committerLaurent Deniel <laurent.deniel@free.fr>2004-03-14 14:04:39 +0000
commit9bbcdb258d0eadd4057ec6abc4d01b5f485b3300 (patch)
treefa6d56686ef5a2ea381d00d22d5ac800f559e3aa
parentf7aa9e6a3d51000d3358700c6c0b748dd41fac49 (diff)
downloadwireshark-9bbcdb258d0eadd4057ec6abc4d01b5f485b3300.tar.gz
Fix incorrect number of arguments for format and compilation warnings.
svn path=/trunk/; revision=10379
-rw-r--r--gtk/rtp_stream_dlg.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/rtp_stream_dlg.c b/gtk/rtp_stream_dlg.c
index fdd8dac2dc..cb84bcc7cc 100644
--- a/gtk/rtp_stream_dlg.c
+++ b/gtk/rtp_stream_dlg.c
@@ -1,7 +1,7 @@
/* rtp_stream_dlg.c
* RTP streams summary addition for ethereal
*
- * $Id: rtp_stream_dlg.c,v 1.18 2004/03/13 12:09:27 ulfl Exp $
+ * $Id: rtp_stream_dlg.c,v 1.19 2004/03/14 14:04:39 deniel Exp $
*
* Copyright 2003, Alcatel Business Systems
* By Lars Ruoff <lars.ruoff@gmx.net>
@@ -355,9 +355,9 @@ static void
rtpstream_on_filter (GtkButton *button _U_,
gpointer user_data _U_)
{
- gchar *filter_string;
- gchar *filter_string_fwd;
- gchar *filter_string_rev;
+ gchar *filter_string = NULL;
+ gchar *filter_string_fwd = NULL;
+ gchar *filter_string_rev = NULL;
if (selected_stream_fwd==NULL && selected_stream_rev==NULL)
return;
@@ -378,7 +378,6 @@ rtpstream_on_filter (GtkButton *button _U_,
{
filter_string_rev = g_strdup_printf(
"(ip.src==%s && udp.srcport==%u && ip.dst==%s && udp.dstport==%u && rtp.ssrc==%u)",
- filter_string_fwd,
ip_to_str((const guint8*)&(selected_stream_rev->src_addr)),
selected_stream_rev->src_port,
ip_to_str((const guint8*)&(selected_stream_rev->dest_addr)),