summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-15 19:51:17 +0000
committerGerald Carter <jerry@samba.org>2003-04-15 19:51:17 +0000
commitd15cd357c702aaad4093f770d557b61a4e12f3a0 (patch)
tree921d2f4cd5a42165ab1be9d4759b14bc2c945e97 /source3/lib
parentf7792732e66b7fc9a6ef4a07ea35b3a2e50f3f69 (diff)
downloadsamba-d15cd357c702aaad4093f770d557b61a4e12f3a0.tar.gz
samba-d15cd357c702aaad4093f770d557b61a4e12f3a0.tar.bz2
samba-d15cd357c702aaad4093f770d557b61a4e12f3a0.zip
merge in metze' smbcquotas patch from HEAD
(This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
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
/**