From aad6555340ef5fb6ec744730b52bf44c235e3fcd Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 21 Sep 2007 13:11:39 +0000 Subject: [PATCH] Update last change: lutil_atoul() -> lutil_atou() for csnsid. --- servers/slapd/slapcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5