diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-03 04:56:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-03 04:56:46 +0000 |
commit | 541af0c740275aa5104328a727ca7c1ebe8c2a69 (patch) | |
tree | 1243cf363092206a1a50c7212ed84fee958369b1 /packet-smtp.c | |
parent | cef26010874fe8214b2ef9d8df4dc109818469ae (diff) |
Use the "pinfo" argument, rather than the global "pi", to refer to the
packet information in tvbuffified dissectors.
svn path=/trunk/; revision=3645
Diffstat (limited to 'packet-smtp.c')
-rw-r--r-- | packet-smtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smtp.c b/packet-smtp.c index cd5740b8ef..220b015243 100644 --- a/packet-smtp.c +++ b/packet-smtp.c @@ -1,7 +1,7 @@ /* packet-smtp.c * Routines for SMTP packet disassembly * - * $Id: packet-smtp.c,v 1.18 2001/06/18 02:17:52 guy Exp $ + * $Id: packet-smtp.c,v 1.19 2001/07/03 04:56:46 guy Exp $ * * Copyright (c) 2000 by Richard Sharpe <rsharpe@ns.aus.com> * @@ -216,7 +216,7 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (!frame_data) { - conversation = find_conversation(&pinfo->src, &pinfo->dst, pi.ptype, + conversation = find_conversation(&pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0); if (conversation == NULL) { /* No conversation, create one */ conversation = conversation_new(&pinfo->src, &pinfo->dst, pinfo->ptype, |