aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/iax2_analysis.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-03-11 07:35:43 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-03-11 07:35:43 +0000
commit6acffc23573f012f42f23792eec843d4da1188c4 (patch)
treecb857445b740fc85f4816131e9a1fe564ae5dae8 /gtk/iax2_analysis.c
parent564846935aa17f6822688bdb60c13f80cd6ea520 (diff)
Get the build going again on non-Windows compilers.
svn path=/trunk/; revision=27697
Diffstat (limited to 'gtk/iax2_analysis.c')
-rw-r--r--gtk/iax2_analysis.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/iax2_analysis.c b/gtk/iax2_analysis.c
index 8cde90b819..0a613862c1 100644
--- a/gtk/iax2_analysis.c
+++ b/gtk/iax2_analysis.c
@@ -608,7 +608,7 @@ static const GdkColor COLOR_FOREGROUND = {0, 0x0000, 0x0000, 0x0000};
/* adds statistics information from the packet to the list */
static int iax2_packet_add_info(GtkWidget *list, user_data_t * user_data,
tap_iax2_stat_t *statinfo, packet_info *pinfo,
- const struct _iax2_info_t *iax2info)
+ const struct _iax2_info_t *iax2info _U_)
{
guint16 msecs;
gchar timeStr[32];
@@ -1833,7 +1833,7 @@ static void on_refresh_bt_clicked(GtkWidget *bt _U_, user_data_t *user_data _U_)
error_string = register_tap_listener("IAX2", user_data, NULL,
iax2_reset, iax2_packet, iax2_draw);
if (error_string != NULL) {
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, error_string->str);
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", error_string->str);
g_string_free(error_string, TRUE);
return;
}
@@ -3245,7 +3245,7 @@ static void create_iax2_dialog(user_data_t* user_data)
gtk_widget_grab_focus(list_fwd);
}
-
+#if 0
/****************************************************************************/
static gboolean process_node(proto_node *ptree_node, header_field_info *hfinformation,
const gchar* proto_field, guint32* p_result)
@@ -3315,7 +3315,7 @@ static gboolean get_int_value_from_proto_tree(proto_tree *protocol_tree,
}
return process_node(ptree_node, hfinformation, proto_field, p_result);
}
-
+#endif
/****************************************************************************/
void iax2_analysis(
@@ -3436,7 +3436,7 @@ static void iax2_analysis_cb(GtkWidget *w _U_, gpointer data _U_)
/* Try to compile the filter. */
g_strlcpy(filter_text,"iax2 && (ip || ipv6)",256);
if (!dfilter_compile(filter_text, &sfcode)) {
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, dfilter_error_msg);
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", dfilter_error_msg);
return;
}
/* we load the current file into cf variable */