diff options
author | Simo Sorce <idra@samba.org> | 2003-02-19 22:26:54 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2003-02-19 22:26:54 +0000 |
commit | f21edd472c6381c55d299a9ec44ac2d54ab9717c (patch) | |
tree | ddd5103d3035c745642918e8c58e5e8f6c113873 /source3/torture | |
parent | 83a11f7f0e4331602acefcb3324be6f35f1fef0e (diff) | |
download | samba-f21edd472c6381c55d299a9ec44ac2d54ab9717c.tar.gz samba-f21edd472c6381c55d299a9ec44ac2d54ab9717c.tar.bz2 samba-f21edd472c6381c55d299a9ec44ac2d54ab9717c.zip |
correct init, tx Stefan
(This used to be commit a2e1969ce54e9ad412fc25ed5d749c38167ad8b0)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/vfstest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index 78d22a07ac..c9410e5adb 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -545,7 +545,8 @@ int main(int argc, char *argv[]) } /* some basic initialization stuff */ - vfs.conn = (struct connection_struct *)malloc(sizeof(struct connection_struct)); + conn_init(); + vfs.conn = conn_new(); vfs.conn->user = "vfstest"; for (i=0; i < 1024; i++) vfs.files[i] = NULL; |