Supress gcc warnings.
--- neon-0.30.2/test/lock.c.lockprintf
+++ neon-0.30.2/test/lock.c
@@ -73,11 +73,11 @@
const char *token_href)
{
static char buf[BUFSIZ];
- sprintf(buf,
- "\n"
- ""
- "%s\n",
- activelock(scope, depth, owner, timeout, token_href));
+ ne_snprintf(buf, sizeof buf,
+ "\n"
+ ""
+ "%s\n",
+ activelock(scope, depth, owner, timeout, token_href));
return buf;
}