From: Günther Deschner Date: Mon, 6 Apr 2009 23:11:44 +0000 (+0200) Subject: svcctl: Fix svcctl_ControlsAccepted bitmask. X-Git-Tag: tdb-1.1.5~1031^2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=557f38326badcd8e1d2338f76c5717e16ae7a7d3;p=thirdparty%2Fsamba.git svcctl: Fix svcctl_ControlsAccepted bitmask. Never ever have 0 value in a bitmask... pidl should generate at least a warning about those things. Guenther --- diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl index 3f990298ad8..4b66d9cc5dc 100644 --- a/librpc/idl/svcctl.idl +++ b/librpc/idl/svcctl.idl @@ -30,8 +30,9 @@ import "misc.idl", "security.idl"; SVCCTL_PAUSED = 0x00000007 } svcctl_ServiceStatus; + const int SVCCTL_ACCEPT_NONE = 0x00000000; + typedef [bitmap32bit] bitmap { - SVCCTL_ACCEPT_NONE = 0x00000000, SVCCTL_ACCEPT_STOP = 0x00000001, SVCCTL_ACCEPT_PAUSE_CONTINUE = 0x00000002, SVCCTL_ACCEPT_SHUTDOWN = 0x00000004,