forked from osmocom/wireshark
Cast the return value of conversation_get_proto_data() to whois_transaction_t *.
svn path=/trunk/; revision=53318
This commit is contained in:
parent
2f523fd9fd
commit
d369ee8c05
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ dissect_whois(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
||||||
}
|
}
|
||||||
|
|
||||||
conversation = find_or_create_conversation(pinfo);
|
conversation = find_or_create_conversation(pinfo);
|
||||||
whois_trans = conversation_get_proto_data(conversation, proto_whois);
|
whois_trans = (whois_transaction_t *)conversation_get_proto_data(conversation, proto_whois);
|
||||||
if (whois_trans == NULL) {
|
if (whois_trans == NULL) {
|
||||||
whois_trans = wmem_new0(wmem_file_scope(), whois_transaction_t);
|
whois_trans = wmem_new0(wmem_file_scope(), whois_transaction_t);
|
||||||
conversation_add_proto_data(conversation, proto_whois, whois_trans);
|
conversation_add_proto_data(conversation, proto_whois, whois_trans);
|
||||||
|
|
Loading…
Reference in a new issue