From d72b89b53a04870b416f6f41715e9dd7ddbdc14d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 10 Dec 2005 11:52:08 +0000 Subject: [PATCH] allow any base for debug level --- servers/slurpd/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slurpd/args.c b/servers/slurpd/args.c index 9d9a6baa2e..bf8d16b2b5 100644 --- a/servers/slurpd/args.c +++ b/servers/slurpd/args.c @@ -109,7 +109,7 @@ doargs( return( -1 ); } #ifdef LDAP_DEBUG - if ( lutil_atoi( &level, optarg ) != 0 ) { + if ( lutil_atoix( &level, optarg, 0 ) != 0 ) { fprintf( stderr, "unable to parse debug flag \"%s\".\n", optarg ); usage( g->myname ); return( -1 ); -- 2.39.5