From 5eae2eaebeff8819c0f840e52814e0c69907032e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 16 Jan 2000 11:07:11 +0000 Subject: make string_init() static use string_set() instead, to avoid the bug Richard discovered (This used to be commit fdcbf6b52d8373bf8f35718a9649788415c23342) --- source3/lib/util_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util_str.c') 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) -- cgit