summaryrefslogtreecommitdiff
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-16 11:07:11 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-16 11:07:11 +0000
commit5eae2eaebeff8819c0f840e52814e0c69907032e (patch)
tree5d03b2670444b39a8545ff79f3e4f79753c5d2bd /source3/lib/util_str.c
parent0cbae6fc3dda6a09ae99a0cf9a72bd21543a1e12 (diff)
downloadsamba-5eae2eaebeff8819c0f840e52814e0c69907032e.tar.gz
samba-5eae2eaebeff8819c0f840e52814e0c69907032e.tar.bz2
samba-5eae2eaebeff8819c0f840e52814e0c69907032e.zip
make string_init() static
use string_set() instead, to avoid the bug Richard discovered (This used to be commit fdcbf6b52d8373bf8f35718a9649788415c23342)
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 58718f395a..b16de3efda 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1008,7 +1008,7 @@ static char *null_string = NULL;
/****************************************************************************
set a string value, allocing the space for the string
****************************************************************************/
-BOOL string_init(char **dest,const char *src)
+static BOOL string_init(char **dest,const char *src)
{
size_t l;
if (!src)