diff --git a/reactos/base/system/services/rpcserver.c b/reactos/base/system/services/rpcserver.c index 86302afa7c4..f72f866afbf 100644 --- a/reactos/base/system/services/rpcserver.c +++ b/reactos/base/system/services/rpcserver.c @@ -1041,8 +1041,7 @@ DWORD RSetServiceStatus( } /* Check accepted controls */ - if (lpServiceStatus->dwControlsAccepted == 0 || - lpServiceStatus->dwControlsAccepted & ~0xFF) + if (lpServiceStatus->dwControlsAccepted & ~0xFF) { DPRINT1("Invalid controls accepted!\n"); return ERROR_INVALID_DATA;