Fix copy/paste error introduced in r49259

svn path=/trunk/; revision=49310
This commit is contained in:
Pascal Quantin 2013-05-15 09:25:25 +00:00
parent 75b64dc285
commit 5e06ca5e58
1 changed files with 3 additions and 3 deletions

View File

@ -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);