aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ldap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-15 07:35:26 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-15 07:35:26 +0000
commit88383c28a29e2bbe09331aa93ce3183508ffb077 (patch)
tree04d44dd0288e67fac40cd45c3c5c5bb67dbca765 /packet-ldap.c
parentb0e06bd8d1be45b4dae1a45f3d5160473c6c894a (diff)
Get rid of an unused variable, and fix a typo in a comment.
svn path=/trunk/; revision=3302
Diffstat (limited to 'packet-ldap.c')
-rw-r--r--packet-ldap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/packet-ldap.c b/packet-ldap.c
index 7d21738819..9b239a85d8 100644
--- a/packet-ldap.c
+++ b/packet-ldap.c
@@ -1,7 +1,7 @@
/* packet-ldap.c
* Routines for ldap packet dissection
*
- * $Id: packet-ldap.c,v 1.23 2001/04/15 07:30:03 guy Exp $
+ * $Id: packet-ldap.c,v 1.24 2001/04/15 07:35:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -157,10 +157,8 @@ static int read_sequence(ASN1_SCK *a, guint *len)
{
guint cls, con, tag;
gboolean def;
- int start;
guint length;
- start = a->offset;
if (asn1_header_decode(a, &cls, &con, &tag, &def, &length) != ASN1_ERR_NOERROR)
return 1;
if (cls != ASN1_UNI || con != ASN1_CON || tag != ASN1_SEQ)
@@ -948,7 +946,7 @@ dissect_ldap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
break;
case LDAP_REQ_SEARCH:
ret = dissect_ldap_request_search(&a, msg_tree);
- /* XXX - do somethign with "ret" */
+ /* XXX - do something with "ret" */
break;
case LDAP_REQ_ADD:
dissect_ldap_request_add(&a, msg_tree);