git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a11f7
)
correct init, tx Stefan
author
Simo Sorce
<idra@samba.org>
Wed, 19 Feb 2003 22:26:54 +0000
(22:26 +0000)
committer
Simo Sorce
<idra@samba.org>
Wed, 19 Feb 2003 22:26:54 +0000
(22:26 +0000)
(This used to be commit
a2e1969ce54e9ad412fc25ed5d749c38167ad8b0
)
source3/torture/vfstest.c
patch
|
blob
|
history
diff --git
a/source3/torture/vfstest.c
b/source3/torture/vfstest.c
index 78d22a07ac4146bf8f22da7586d4c750c6904bfd..c9410e5adbec6272f36d24ce32dd942164127c72 100644
(file)
--- 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;