summaryrefslogtreecommitdiff
path: root/source3/smbd/conn.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-16 11:18:04 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-16 11:18:04 +0000
commitb3b634ff4251cca647e1e545fe1e4160736d96b9 (patch)
tree4980f28cca8a5037471aa0db2329bff5f2877763 /source3/smbd/conn.c
parent54e1176ba17eaaba82254e4b629fa135802cec10 (diff)
downloadsamba-b3b634ff4251cca647e1e545fe1e4160736d96b9.tar.gz
samba-b3b634ff4251cca647e1e545fe1e4160736d96b9.tar.bz2
samba-b3b634ff4251cca647e1e545fe1e4160736d96b9.zip
use string_set() instead of string_init()
bug pointed out by Richard (This used to be commit 070f49397ff24e4d6ba7c2c1cfaef2dfa0944bd0)
Diffstat (limited to 'source3/smbd/conn.c')
-rw-r--r--source3/smbd/conn.c8
1 files changed, 4 insertions, 4 deletions
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);