git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de88e70
)
correct init for vfs.conn, thanks Stefan
author
Simo Sorce
<idra@samba.org>
Wed, 19 Feb 2003 22:26:19 +0000
(22:26 +0000)
committer
Simo Sorce
<idra@samba.org>
Wed, 19 Feb 2003 22:26:19 +0000
(22:26 +0000)
(This used to be commit
162683d2b5c15016fe1423876589573b48b9f5a6
)
source3/torture/vfstest.c
patch
|
blob
|
history
diff --git
a/source3/torture/vfstest.c
b/source3/torture/vfstest.c
index fef189844bc7867672e3cfa183c0042535dec9dc..fd1f83109ea5e9a2e6245c1557d459876e3c1e55 100644
(file)
--- a/
source3/torture/vfstest.c
+++ b/
source3/torture/vfstest.c
@@
-546,7
+546,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;