]> git.sur5r.net Git - openldap/blobdiff - clients/tools/ldapvc.c
Do not require ac/string.h for lber_pvt.h
[openldap] / clients / tools / ldapvc.c
index 70188e1c8eac25a9158870ce4c15322e9dd157c5..c94e838550a6ec733a255c9a0966b6c82ad97f8d 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2018 The OpenLDAP Foundation.
  * Portions Copyright 2010 Kurt D. Zeilenga.
  * All rights reserved.
  *
@@ -77,7 +77,7 @@ usage( void )
        fprintf( stderr, _("    -E sasl=(a[utomatic]|i[nteractive]|q[uiet]>\tSASL mode (defaults to automatic if any other -E option provided, otherwise none))\n"));
        fprintf( stderr, _("    -E mech=<mech>\tSASL mechanism (default "" e.g. Simple)\n"));
        fprintf( stderr, _("    -E realm=<realm>\tSASL Realm (defaults to none)\n"));
-       fprintf( stderr, _("    -E authcid=<authcid>\tSASL Authenication Identity (defaults to USER)\n"));
+       fprintf( stderr, _("    -E authcid=<authcid>\tSASL Authentication Identity (defaults to USER)\n"));
        fprintf( stderr, _("    -E authzid=<authzid>\tSASL Authorization Identity (defaults to none)\n"));
        fprintf( stderr, _("    -E secprops=<secprops>\tSASL Security Properties (defaults to none)\n"));
        tool_common_usage();
@@ -255,6 +255,8 @@ handle_private_option( int i )
                    fprintf( stderr, _("Invalid Verify Credentials extension name: %s\n"), control );
                    usage();
                }
+               free( control );
+               break;
 
        case 'a':  /* request authzid */
                req_authzid++;