From 9cffa1a1ed40c34b3314653c497d96b864bed0aa Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 1 Sep 2002 05:48:32 +0000 Subject: [PATCH] Use macro to set size --- libraries/liblutil/csn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblutil/csn.c b/libraries/liblutil/csn.c index 0a18918b3b..752ee35f89 100644 --- a/libraries/liblutil/csn.c +++ b/libraries/liblutil/csn.c @@ -65,7 +65,7 @@ lutil_csnstr(char *buf, size_t len, unsigned int replica, unsigned int mod) int main(int argc, char **argv) { - char buf[256]; + char buf[ LDAP_LUTIL_CSNSTR_BUFSIZE ]; if ( ! lutil_csnstr( buf, (size_t) 10, 0, 0 ) ) { fprintf(stderr, "failed lutil_csnstr\n"); -- 2.39.5