From c8620180083c2bff2e54bb90bcbf89a3d5008fbd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 27 May 2009 11:15:44 +0200 Subject: s3:smbd: move tcon specific globals to struct smbd_server_connection metze --- source3/torture/vfstest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index bb4dc35d2b..de68a0b3c5 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -561,8 +561,8 @@ int main(int argc, char *argv[]) /* some basic initialization stuff */ sec_init(); - conn_init(); - vfs.conn = conn_new(); + vfs.conn = TALLOC_ZERO_P(NULL, connection_struct); + vfs.conn->params = TALLOC_P(vfs.conn, struct share_params); for (i=0; i < 1024; i++) vfs.files[i] = NULL; @@ -605,7 +605,7 @@ int main(int argc, char *argv[]) SAFE_FREE(line); } - conn_free(vfs.conn); + TALLOC_FREE(vfs.conn); TALLOC_FREE(frame); return 0; } -- cgit