diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-23 07:14:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-23 07:14:21 +0000 |
commit | 81d8b5dcf27aa720c695cad49c1534512ea4bda4 (patch) | |
tree | 9aad7d8d9f01a12be3de6f901ab61d88ee63a397 /packet-dcerpc.c | |
parent | ab536b6af8d74bf378f0569833e6249c57d33edb (diff) |
Fix a call to "dissect_dcerpc_cn()" to handle the new return value.
svn path=/trunk/; revision=8761
Diffstat (limited to 'packet-dcerpc.c')
-rw-r--r-- | packet-dcerpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dcerpc.c b/packet-dcerpc.c index caeab9545c..9517fcaf13 100644 --- a/packet-dcerpc.c +++ b/packet-dcerpc.c @@ -3,7 +3,7 @@ * Copyright 2001, Todd Sabin <tas@webspan.net> * Copyright 2003, Tim Potter <tpot@samba.org> * - * $Id: packet-dcerpc.c,v 1.149 2003/10/23 05:58:57 guy Exp $ + * $Id: packet-dcerpc.c,v 1.150 2003/10/23 07:14:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -3371,7 +3371,7 @@ dissect_dcerpc_cn_pk (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * Only one PDU per transport packet, and only one transport * packet per PDU. */ - if (dissect_dcerpc_cn (tvb, 0, pinfo, tree, FALSE, NULL) == -1) { + if (!dissect_dcerpc_cn (tvb, 0, pinfo, tree, FALSE, NULL)) { /* * It wasn't a DCERPC PDU. */ |