1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix the mangle1 test

This commit is contained in:
Volker Lendecke 2009-05-09 13:46:08 +02:00
parent c291a55a35
commit efbc4315d2

View File

@ -5065,7 +5065,7 @@ static bool run_mangle1(int dummy)
cli_sockopt(cli, sockops);
if (NT_STATUS_IS_OK(cli_ntcreate(
if (!NT_STATUS_IS_OK(cli_ntcreate(
cli, fname, 0, GENERIC_ALL_ACCESS|DELETE_ACCESS,
FILE_ATTRIBUTE_NORMAL, 0, FILE_OVERWRITE_IF, 0, 0, &fnum))) {
d_printf("open %s failed: %s\n", fname, cli_errstr(cli));