aboutsummaryrefslogtreecommitdiffstats
path: root/epan/frame_data.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-08 05:29:42 +0000
committerTim Potter <tpot@samba.org>2003-07-08 05:29:42 +0000
commitdb76d479521b412c5073e828becfa37dab099716 (patch)
tree9580dc56419ab73470d52b2c1d8f5736d9aed3ba /epan/frame_data.c
parent05330d4ac978c30fe21ddc62c36e6f5f13c533e4 (diff)
Added prototype for p_rem_proto_data()
Fixed bug in said function which prevented it from actually working. svn path=/trunk/; revision=7982
Diffstat (limited to 'epan/frame_data.c')
-rw-r--r--epan/frame_data.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/epan/frame_data.c b/epan/frame_data.c
index 4674bb186b..c1053181a8 100644
--- a/epan/frame_data.c
+++ b/epan/frame_data.c
@@ -1,7 +1,7 @@
/* frame_data.c
* Routines for packet disassembly
*
- * $Id: frame_data.c,v 1.4 2002/11/27 22:44:41 guy Exp $
+ * $Id: frame_data.c,v 1.5 2003/07/08 05:29:42 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -142,12 +142,6 @@ p_rem_proto_data(frame_data *fd, int proto)
item = g_slist_find_custom(fd->pfd, (gpointer *)&temp, p_compare);
if (item) {
-
- fd->pfd = g_slist_remove(fd->pfd, item);
-
+ fd->pfd = g_slist_remove(fd->pfd, item->data);
}
-
}
-
-
-