svn commit: samba r12175 - in trunk/source: include rpc_parse
jerry at samba.org
jerry at samba.org
Sun Dec 11 04:41:15 GMT 2005
Author: jerry
Date: 2005-12-11 04:41:15 +0000 (Sun, 11 Dec 2005)
New Revision: 12175
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12175
Log:
fix some missing changes from svcctl commit
Modified:
trunk/source/include/rpc_svcctl.h
trunk/source/rpc_parse/parse_svcctl.c
Changeset:
Modified: trunk/source/include/rpc_svcctl.h
===================================================================
--- trunk/source/include/rpc_svcctl.h 2005-12-11 04:39:33 UTC (rev 12174)
+++ trunk/source/include/rpc_svcctl.h 2005-12-11 04:41:15 UTC (rev 12175)
@@ -69,6 +69,7 @@
/* SERVER_STATUS - ControlAccepted */
+#define SVCCTL_ACCEPT_NONE 0x00000000
#define SVCCTL_ACCEPT_STOP 0x00000001
#define SVCCTL_ACCEPT_PAUSE_CONTINUE 0x00000002
#define SVCCTL_ACCEPT_SHUTDOWN 0x00000004
@@ -126,7 +127,7 @@
uint32 type;
uint32 state;
uint32 controls_accepted;
- uint32 win32_exit_code;
+ WERROR win32_exit_code;
uint32 service_exit_code;
uint32 check_point;
uint32 wait_hint;
Modified: trunk/source/rpc_parse/parse_svcctl.c
===================================================================
--- trunk/source/rpc_parse/parse_svcctl.c 2005-12-11 04:39:33 UTC (rev 12174)
+++ trunk/source/rpc_parse/parse_svcctl.c 2005-12-11 04:41:15 UTC (rev 12175)
@@ -41,7 +41,7 @@
if(!prs_uint32("controls_accepted", ps, depth, &status->controls_accepted))
return False;
- if(!prs_uint32("win32_exit_code", ps, depth, &status->win32_exit_code))
+ if(!prs_werror("win32_exit_code", ps, depth, &status->win32_exit_code))
return False;
if(!prs_uint32("service_exit_code", ps, depth, &status->service_exit_code))
More information about the samba-cvs
mailing list