diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-16 11:18:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-16 11:18:04 +0000 |
commit | b3b634ff4251cca647e1e545fe1e4160736d96b9 (patch) | |
tree | 4980f28cca8a5037471aa0db2329bff5f2877763 /source3/smbd/conn.c | |
parent | 54e1176ba17eaaba82254e4b629fa135802cec10 (diff) | |
download | samba-b3b634ff4251cca647e1e545fe1e4160736d96b9.tar.gz samba-b3b634ff4251cca647e1e545fe1e4160736d96b9.tar.xz 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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index 5dc904bd91b..83289b21848 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); |