diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-27 11:13:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-27 11:13:03 +0000 |
commit | e85f05b0ec016d1b5bf9ef22d916fed2e711e814 (patch) | |
tree | 5c7ba3d8a6ca6cfef12e328b217f7c433b94982f /gtk/mgcp_stat.c | |
parent | 9925eb8ff3c5f569096b9a84bfad817f5acf4295 (diff) |
From Lars Roland: use the generic filter dialog for the SIP, HTTP, WSP,
and BOOTP taps.
Get rid of the "dlg" variable in some of those taps - it's never set, so
it's always null, and nothing useful is done with it if it's null.
Make static some variables and functions not used outside the source
file in which they're defined.
svn path=/trunk/; revision=10500
Diffstat (limited to 'gtk/mgcp_stat.c')
-rw-r--r-- | gtk/mgcp_stat.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/mgcp_stat.c b/gtk/mgcp_stat.c index 4e9e378d93..441ac7e917 100644 --- a/gtk/mgcp_stat.c +++ b/gtk/mgcp_stat.c @@ -2,7 +2,7 @@ * mgcp-statistics for ethereal * Copyright 2003 Lars Roland * - * $Id: mgcp_stat.c,v 1.32 2004/03/13 14:07:14 ulfl Exp $ + * $Id: mgcp_stat.c,v 1.33 2004/03/27 11:13:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -303,7 +303,12 @@ gtk_mgcpstat_init(char *optarg) retap_packets(&cfile); } -tap_dfilter_dlg mgcp_srt_dlg = {"MGCP Service Response Time (SRT) Statistics", "mgcp,srt", gtk_mgcpstat_init, -1}; +static tap_dfilter_dlg mgcp_srt_dlg = { + "MGCP Service Response Time (SRT) Statistics", + "mgcp,srt", + gtk_mgcpstat_init, + -1 +}; void register_tap_listener_gtkmgcpstat(void) |