From f964db91e7e3bc893b4c7feaab0f9d37c325d9d3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 30 Mar 2006 15:47:41 +0000 Subject: r14826: initialize pid1 and pid2:-) metze (This used to be commit 45e28329723c15c1ba6b8420cd3689cd03613de7) --- source4/torture/raw/context.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/torture') diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index d67812ccb8..0c9bcc417f 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -535,6 +535,9 @@ static BOOL test_pid_exit_only_sees_open(struct smbcli_state *cli, TALLOC_CTX *m return False; } + pid1 = cli->session->pid; + pid2 = pid1 + 1; + printf("pid1=%d pid2=%d\n", pid1, pid2); printf("create a file using pid1\n"); -- cgit