aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-06-12 21:48:51 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-06-12 21:48:51 +0000
commitf51e366267de3f98fe63ac9ec3271be4e7e4c55c (patch)
treedbb45580cbef6accac17d87d946caa354bfbb775 /epan
parent7da210b41817d0036d9613948b4f84592d580d95 (diff)
Fix some warnings.
svn path=/trunk/; revision=18445
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-ldap.c4
-rw-r--r--epan/dissectors/packet-ldap.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c
index bace143fc3..a58be73e38 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 */
@@ -416,7 +416,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset
offset=get_ber_length(NULL, tvb, offset, &len, &ind);
if(len==0){
- return;
+ return offset;
}
/* check whether the string is ascii or binary */
diff --git a/epan/dissectors/packet-ldap.h b/epan/dissectors/packet-ldap.h
index 93cdd7638d..da424bbacd 100644
--- a/epan/dissectors/packet-ldap.h
+++ b/epan/dissectors/packet-ldap.h
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
-/* ./packet-ldap.h */
+/* .\packet-ldap.h */
/* ../../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.h */