]> git.sur5r.net Git - openldap/commitdiff
fix syslog level parsing
authorPierangelo Masarati <ando@openldap.org>
Sat, 17 Dec 2005 00:40:46 +0000 (00:40 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 17 Dec 2005 00:40:46 +0000 (00:40 +0000)
servers/slapd/main.c

index 4011540a36c4650c6f434711cf686ccb9d32122b..f9dd88d893c71b4d5b41359565ee3d85e3d13a53 100644 (file)
@@ -483,7 +483,7 @@ int main( int argc, char **argv )
                }
 
                case 's':       /* set syslog level */
-                       if ( lutil_atoi( &ldap_syslog, optarg ) != 0 ) {
+                       if ( lutil_atoi( &ldap_syslog_level, optarg ) != 0 ) {
                                fprintf( stderr, "unable to parse syslog level \"%s\"", optarg );
                                goto destroy;
                        }