aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ldap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-08-19 02:56:16 +0000
committerGuy Harris <guy@alum.mit.edu>2006-08-19 02:56:16 +0000
commit338f7ede9926dab6cb916c19fd2d6ed6f05f1105 (patch)
treec8ea16aecde49e228922bfac7205d6c018e8f9e3 /epan/dissectors/packet-ldap.c
parent46bcd1705456ed36778440a6a509c4df1ff7ac5a (diff)
Squelch a compiler warning.
svn path=/trunk/; revision=18954
Diffstat (limited to 'epan/dissectors/packet-ldap.c')
-rw-r--r--epan/dissectors/packet-ldap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c
index 2f336c9bd7..c38d601a8f 100644
--- a/epan/dissectors/packet-ldap.c
+++ b/epan/dissectors/packet-ldap.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
-/* .\packet-ldap.c */
+/* ./packet-ldap.c */
/* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */
/* Input file: packet-ldap-template.c */
@@ -3428,7 +3428,8 @@ dissect_normal_ldap_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static void
dissect_ldap_oid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- char *oid, *oidname;
+ char *oid;
+ const char *oidname;
/* tvb here contains an ascii string that is really an oid */
/* XXX we should convert the string oid into a real oid so we can use
@@ -4236,7 +4237,7 @@ void proto_register_ldap(void) {
"ldap.OCTET_STRING", HFILL }},
/*--- End of included file: packet-ldap-hfarr.c ---*/
-#line 1608 "packet-ldap-template.c"
+#line 1609 "packet-ldap-template.c"
};
/* List of subtrees */
@@ -4289,7 +4290,7 @@ void proto_register_ldap(void) {
&ett_ldap_ExtendedResponse,
/*--- End of included file: packet-ldap-ettarr.c ---*/
-#line 1619 "packet-ldap-template.c"
+#line 1620 "packet-ldap-template.c"
};
module_t *ldap_module;