summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-27 11:15:44 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-03 17:54:38 +0200
commitc8620180083c2bff2e54bb90bcbf89a3d5008fbd (patch)
treee4abbffa3b9a184b0fdbef2252880ee9bec34388 /source3/torture
parent75d03970b78538346308c612ca6be15559e15b5b (diff)
downloadsamba-c8620180083c2bff2e54bb90bcbf89a3d5008fbd.tar.gz
samba-c8620180083c2bff2e54bb90bcbf89a3d5008fbd.tar.bz2
samba-c8620180083c2bff2e54bb90bcbf89a3d5008fbd.zip
s3:smbd: move tcon specific globals to struct smbd_server_connection
metze
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/vfstest.c6
1 files changed, 3 insertions, 3 deletions
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;
}