diff options
author | Tim Potter <tpot@samba.org> | 2003-07-08 05:29:42 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-07-08 05:29:42 +0000 |
commit | db76d479521b412c5073e828becfa37dab099716 (patch) | |
tree | 9580dc56419ab73470d52b2c1d8f5736d9aed3ba /epan/frame_data.c | |
parent | 05330d4ac978c30fe21ddc62c36e6f5f13c533e4 (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.c | 10 |
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); } - } - - - |