Fix a call to "dissect_dcerpc_cn()" to handle the new return value.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Oct 2003 07:14:21 +0000 (07:14 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Oct 2003 07:14:21 +0000 (07:14 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8761 f5534014-38df-0310-8fa8-9805f1628bb7

packet-dcerpc.c

index caeab9545cb6e8c0aef43ddda6bb57b026522509..9517fcaf13862a7b54e45c0288d9ac228ba3c824 100644 (file)
@@ -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.
          */