diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-05-15 09:25:25 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-05-15 09:25:25 +0000 |
commit | 5e06ca5e58d981c4fe81b4114de768b41c27e251 (patch) | |
tree | 38627be1253af36b1177b9e03205909638023a30 /epan/frame_data.c | |
parent | 75b64dc28574214824dfa0f278849e87f740222d (diff) |
Fix copy/paste error introduced in r49259
svn path=/trunk/; revision=49310
Diffstat (limited to 'epan/frame_data.c')
-rw-r--r-- | epan/frame_data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/frame_data.c b/epan/frame_data.c index 4d150f1a27..097e6ede92 100644 --- a/epan/frame_data.c +++ b/epan/frame_data.c @@ -66,7 +66,7 @@ p_add_proto_data(frame_data *fd, int proto, guint8 key, void *proto_data) frame_proto_data *p1 = (frame_proto_data *)wmem_alloc(wmem_file_scope(), sizeof(frame_proto_data)); p1->proto = proto; - p1->proto = key; + p1->key = key; p1->proto_data = proto_data; /* Add it to the GSLIST */ @@ -83,7 +83,7 @@ p_get_proto_data(frame_data *fd, int proto, guint8 key) GSList *item; temp.proto = proto; - temp.proto = key; + temp.key = key; temp.proto_data = NULL; item = g_slist_find_custom(fd->pfd, (gpointer *)&temp, p_compare); @@ -104,7 +104,7 @@ p_remove_proto_data(frame_data *fd, int proto, guint8 key) GSList *item; temp.proto = proto; - temp.proto = key; + temp.key = key; temp.proto_data = NULL; item = g_slist_find_custom(fd->pfd, (gpointer *)&temp, p_compare); |