diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-04 20:19:05 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-04 21:22:43 +1100 |
commit | 6cf5bdd3d389a2bf30a2cd7118061d037888ab94 (patch) | |
tree | 6ecb099c0fa2a314dc44f4fddcf8a05fad1c8dbd /source4/torture/raw/offline.c | |
parent | 259ba3ab8751d0792c0ce4ddecd68f8f98cf1bd9 (diff) | |
download | samba-6cf5bdd3d389a2bf30a2cd7118061d037888ab94.tar.gz samba-6cf5bdd3d389a2bf30a2cd7118061d037888ab94.tar.bz2 samba-6cf5bdd3d389a2bf30a2cd7118061d037888ab94.zip |
s4-torture: handle NT_STATUS_CONNECTION_RESET
a CONNECTION_RESET is now the normal "client disconnect" status code
Diffstat (limited to 'source4/torture/raw/offline.c')
-rw-r--r-- | source4/torture/raw/offline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/offline.c b/source4/torture/raw/offline.c index de72c88b5c..3b8bbdd53a 100644 --- a/source4/torture/raw/offline.c +++ b/source4/torture/raw/offline.c @@ -317,7 +317,8 @@ static void echo_completion(struct smbcli_request *req) struct offline_state *state = (struct offline_state *)req->async.private_data; NTSTATUS status = smbcli_request_simple_recv(req); if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) || - NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT)) { + NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT) || + NT_STATUS_EQUAL(status, NT_STATUS_CONNECTION_RESET)) { talloc_free(state->tree); state->tree = NULL; num_connected--; |