1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

vfstext: Use just one messaging_context in vfstest

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2014-02-18 20:51:57 +01:00 committed by Jeremy Allison
parent a93aaec77e
commit fb35d17e43

View File

@ -464,7 +464,7 @@ int main(int argc, char *argv[])
char *filename = NULL;
char cwd[MAXPATHLEN];
TALLOC_CTX *frame = talloc_stackframe();
struct tevent_context *ev = samba_tevent_context_init(NULL);
struct tevent_context *ev;
struct auth_session_info *session_info = NULL;
NTSTATUS status = NT_STATUS_OK;
@ -537,9 +537,11 @@ int main(int argc, char *argv[])
return 1;
}
ev = server_event_context();
status = create_conn_struct(vfs,
ev,
messaging_init(vfs, ev),
server_messaging_context(),
&vfs->conn,
-1,
getcwd(cwd, sizeof(cwd)),