summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-11 23:32:00 +0000
committerGerald Carter <jerry@samba.org>2003-04-11 23:32:00 +0000
commit5b51fc4f065e9e68eefb530eb99ad8da9f4e5d28 (patch)
treee0b97b40a4e42e5ccd1ca9de7b2cf4a4c837a899 /source3/lib
parent04bb7e808ae391d207afb2d87e55ea0d20659dd4 (diff)
downloadsamba-5b51fc4f065e9e68eefb530eb99ad8da9f4e5d28.tar.gz
samba-5b51fc4f065e9e68eefb530eb99ad8da9f4e5d28.tar.bz2
samba-5b51fc4f065e9e68eefb530eb99ad8da9f4e5d28.zip
smbcquota patch from metze
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index e2f9f19f58..e561d15f61 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1226,12 +1226,12 @@ char *binary_string(char *buf, int len)
return ret;
}
-#if 0
+
/**
Just a typesafety wrapper for snprintf into a fstring.
**/
-static int fstr_sprintf(fstring s, const char *fmt, ...)
+int fstr_sprintf(fstring s, const char *fmt, ...)
{
va_list ap;
int ret;
@@ -1241,7 +1241,7 @@ static int fstr_sprintf(fstring s, const char *fmt, ...)
va_end(ap);
return ret;
}
-#endif
+
#ifndef HAVE_STRNDUP
/**