From b3b634ff4251cca647e1e545fe1e4160736d96b9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 16 Jan 2000 11:18:04 +0000 Subject: use string_set() instead of string_init() bug pointed out by Richard (This used to be commit 070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0) --- source3/smbd/conn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd/conn.c') diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index 5dc904bd91..83289b2184 100644 --- a/source3/smbd/conn.c +++ b/source3/smbd/conn.c @@ -115,10 +115,10 @@ connection_struct *conn_new(void) num_open++; - string_init(&conn->user,""); - string_init(&conn->dirpath,""); - string_init(&conn->connectpath,""); - string_init(&conn->origpath,""); + string_set(&conn->user,""); + string_set(&conn->dirpath,""); + string_set(&conn->connectpath,""); + string_set(&conn->origpath,""); DLIST_ADD(Connections, conn); -- cgit