diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-06-12 21:48:51 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-06-12 21:48:51 +0000 |
commit | f51e366267de3f98fe63ac9ec3271be4e7e4c55c (patch) | |
tree | dbb45580cbef6accac17d87d946caa354bfbb775 /epan | |
parent | 7da210b41817d0036d9613948b4f84592d580d95 (diff) | |
download | wireshark-f51e366267de3f98fe63ac9ec3271be4e7e4c55c.tar.gz |
Fix some warnings.
svn path=/trunk/; revision=18445
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ldap.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-ldap.h | 2 |
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 */ |