HI all,
here's a small fix for
torture/vfstest.c
we should use conn_new() instead of use malloc()
metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#*
HEAD/source/torture/vfstest.c HEAD-fix/source/torture/vfstest.c
--- HEAD/source/torture/vfstest.c Thu Sep 5 11:40:32 2002
+++ HEAD-fix/source/torture/vfstest.c Sat Nov 30 09:29:22 2002
@@ -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;