]> git.sur5r.net Git - openldap/commitdiff
s/LDAP_SUCCESS/LDAP_OPT_SUCCESS/
authorKurt Zeilenga <kurt@openldap.org>
Mon, 10 Feb 2003 01:48:04 +0000 (01:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 10 Feb 2003 01:48:04 +0000 (01:48 +0000)
clients/tools/common.c

index f342f45785fbce99ec9e4a9cd392fc614229b6af..2600d67a9e3e32513eac2a6a2b34be3b4180f86d 100644 (file)
@@ -460,7 +460,9 @@ tool_args( int argc, char **argv )
                LDAPAPIInfo api;
                api.ldapai_info_version = LDAP_API_INFO_VERSION;
 
-               if ( ldap_get_option(NULL, LDAP_OPT_API_INFO, &api) != LDAP_SUCCESS ) {
+               if ( ldap_get_option(NULL, LDAP_OPT_API_INFO, &api)
+                       != LDAP_OPT_SUCCESS )
+               {
                        fprintf( stderr, "%s: ldap_get_option(API_INFO) failed\n", prog );
                        exit( EXIT_FAILURE );
                }