From: Hallvard Furuseth Date: Fri, 21 Sep 2007 13:11:39 +0000 (+0000) Subject: Update last change: lutil_atoul() -> lutil_atou() for csnsid. X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~612 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aad6555340ef5fb6ec744730b52bf44c235e3fcd;p=openldap Update last change: lutil_atoul() -> lutil_atou() for csnsid. --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index adf5a60323..1a6a043ccf 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -385,7 +385,7 @@ slap_tool_init( break; case 'S': - if ( lutil_atoul( &csnsid, optarg ) + if ( lutil_atou( &csnsid, optarg ) || csnsid > SLAP_SYNC_SID_MAX ) { usage( tool, progname );