diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-03-28 19:31:54 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-03-28 19:31:54 +0000 |
commit | 359c840dfb22d6526b4c48d7bc0bf172f76c6c4b (patch) | |
tree | 77b2984d1b5851b7aac91519dec1b3296cfae36f /gtk/voip_calls.c | |
parent | 339f98972470d2b9e4f917324971c103fa46d94f (diff) | |
download | wireshark-359c840dfb22d6526b4c48d7bc0bf172f76c6c4b.tar.gz wireshark-359c840dfb22d6526b4c48d7bc0bf172f76c6c4b.tar.bz2 wireshark-359c840dfb22d6526b4c48d7bc0bf172f76c6c4b.zip |
do not avoid redrawing the tap
make sure we do not pass a null pointer to add_to_graph()
svn path=/trunk/; revision=21251
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r-- | gtk/voip_calls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c index caaa549a4a..b3f982a196 100644 --- a/gtk/voip_calls.c +++ b/gtk/voip_calls.c @@ -2741,8 +2741,6 @@ static int h248_calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t * gchar mgw_addr[128]; if (cmd->ctx->id == NULL_CONTEXT || cmd->ctx->id == ALL_CONTEXTS ) { - tapinfo->redraw = FALSE; - return 0; } @@ -2824,7 +2822,7 @@ static int h248_calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t * ++(strinfo->npackets); } - add_to_graph(tapinfo, pinfo, cmd->str, + add_to_graph(tapinfo, pinfo, cmd->str ? cmd->str : "unknown Msg", ep_strdup_printf("TrxId = %u, CtxId = %.8x",cmd->trx->id,cmd->ctx->id), strinfo->call_num, &(pinfo->src), &(pinfo->dst), 1); |