packet-gsm_sim.c was the wrong file to check in.
I meant ui/gtk/voip_calls_dlg.c. svn path=/trunk/; revision=40915
This commit is contained in:
parent
dca8952441
commit
d69fe726b9
|
@ -2,7 +2,7 @@
|
||||||
* Routines for packet dissection of GSM SIM APDUs (GSM TS 11.11)
|
* Routines for packet dissection of GSM SIM APDUs (GSM TS 11.11)
|
||||||
*
|
*
|
||||||
* GSM TS 11.11 / 3GPP TS 51.011
|
* GSM TS 11.11 / 3GPP TS 51.011
|
||||||
* 3GPP TS 31.102
|
* 3GPP TS 31.102
|
||||||
* Copyright 2010-2011 by Harald Welte <laforge@gnumonks.org>
|
* Copyright 2010-2011 by Harald Welte <laforge@gnumonks.org>
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
|
@ -785,7 +785,6 @@ dissect_bertlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
||||||
|
|
||||||
/* FIXME: properly follow BER coding rules */
|
/* FIXME: properly follow BER coding rules */
|
||||||
tag = tvb_get_guint8(tvb, pos++);
|
tag = tvb_get_guint8(tvb, pos++);
|
||||||
/* FIXME: what happens if len = 0? */
|
|
||||||
len = tvb_get_guint8(tvb, pos++);
|
len = tvb_get_guint8(tvb, pos++);
|
||||||
|
|
||||||
subtvb = tvb_new_subset(tvb, pos, len, len);
|
subtvb = tvb_new_subset(tvb, pos, len, len);
|
||||||
|
@ -800,9 +799,9 @@ dissect_bertlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#define P1_OFFS 0
|
#define P1_OFFS 0
|
||||||
#define P2_OFFS 1
|
#define P2_OFFS 1
|
||||||
#define P3_OFFS 2
|
#define P3_OFFS 2
|
||||||
#define DATA_OFFS 3
|
#define DATA_OFFS 3
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -763,11 +763,11 @@ voip_calls_dlg_create(void)
|
||||||
void
|
void
|
||||||
voip_calls_dlg_update(GList *listx)
|
voip_calls_dlg_update(GList *listx)
|
||||||
{
|
{
|
||||||
GtkTreeView *list_view;
|
/* GtkTreeView *list_view; */
|
||||||
GtkTreeSortable *sortable;
|
GtkTreeSortable *sortable;
|
||||||
gchar label_text[256];
|
gchar label_text[256];
|
||||||
|
|
||||||
list_view = GTK_TREE_VIEW(list);
|
/* list_view = GTK_TREE_VIEW(list); */
|
||||||
sortable = GTK_TREE_SORTABLE(list_store);
|
sortable = GTK_TREE_SORTABLE(list_store);
|
||||||
if (voip_calls_dlg != NULL) {
|
if (voip_calls_dlg != NULL) {
|
||||||
calls_nb = 0;
|
calls_nb = 0;
|
||||||
|
|
Loading…
Reference in New Issue