diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 2004-03-14 14:04:39 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 2004-03-14 14:04:39 +0000 |
commit | 9bbcdb258d0eadd4057ec6abc4d01b5f485b3300 (patch) | |
tree | fa6d56686ef5a2ea381d00d22d5ac800f559e3aa /gtk/rtp_stream_dlg.c | |
parent | f7aa9e6a3d51000d3358700c6c0b748dd41fac49 (diff) | |
download | wireshark-9bbcdb258d0eadd4057ec6abc4d01b5f485b3300.tar.gz wireshark-9bbcdb258d0eadd4057ec6abc4d01b5f485b3300.tar.bz2 wireshark-9bbcdb258d0eadd4057ec6abc4d01b5f485b3300.zip |
Fix incorrect number of arguments for format and compilation warnings.
svn path=/trunk/; revision=10379
Diffstat (limited to 'gtk/rtp_stream_dlg.c')
-rw-r--r-- | gtk/rtp_stream_dlg.c | 9 |
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)), |