Commit 9cffa1a1 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use macro to set size

parent 0a367c42
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment