mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3-net: fix query_service_state() error handling.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 15:22:56 CET 2011 on sn-devel-104
This commit is contained in:
parent
9bad150705
commit
dac7ccee9f
@ -90,7 +90,7 @@ static WERROR query_service_state(struct rpc_pipe_client *pipe_hnd,
|
||||
&service_status,
|
||||
&result);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status) || !W_ERROR_IS_OK(result) ) {
|
||||
if (NT_STATUS_IS_OK(status) && W_ERROR_IS_OK(result) ) {
|
||||
*state = service_status.state;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user