Remove unused function.
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 5 May 2002 23:48:19 +0000 (23:48 +0000)
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 5 May 2002 23:48:19 +0000 (23:48 +0000)
Dissect a status code at the end of GetAliasMem reply instead of uint32.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5401 f5534014-38df-0310-8fa8-9805f1628bb7

packet-dcerpc-samr.c

index 175309d6de7fa6e2a2cc912ab40a589fa3b784d7..88cb8b540f51bdfaf772d540f57238a86430dff7 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2001, Tim Potter <tpot@samba.org>
  *   2002 Added all command dissectors  Ronnie Sahlberg
  *
- * $Id: packet-dcerpc-samr.c,v 1.39 2002/05/04 09:05:43 guy Exp $
+ * $Id: packet-dcerpc-samr.c,v 1.40 2002/05/05 23:48:19 tpot Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -2260,17 +2260,6 @@ samr_dissect_get_alias_membership_rqst(tvbuff_t *tvb, int offset,
        return offset;
 }
 
-static int
-samr_dissect_get_alias_membership_response(tvbuff_t *tvb, int offset, 
-                                          packet_info *pinfo, 
-                                          proto_tree *tree, char *drep)
-{
-        offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep,
-                                 hf_samr_rc, NULL);
-
-       return offset;
-}
-
 static int
 samr_dissect_get_alias_membership_reply(tvbuff_t *tvb, int offset, 
                              packet_info *pinfo, proto_tree *tree,
@@ -2280,8 +2269,8 @@ samr_dissect_get_alias_membership_reply(tvbuff_t *tvb, int offset,
                        samr_dissect_INDEX_ARRAY, NDR_POINTER_REF,
                        "", hf_samr_alias, 0);
 
-        offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
-                       hf_samr_rc, NULL);
+        offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep,
+                                 hf_samr_rc, NULL);
 
        return offset;
 }