[SCM] Samba Shared Repository - branch master updated -
740c5ce08138bca3c44dc3cccdd75abdb83752d5
Günther Deschner
gd at samba.org
Fri Jan 16 10:53:22 GMT 2009
The branch, master has been updated
via 740c5ce08138bca3c44dc3cccdd75abdb83752d5 (commit)
from c19926022cd39d2a29b1c365563427bdbab08412 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 740c5ce08138bca3c44dc3cccdd75abdb83752d5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 16 02:59:05 2009 +0100
s3-eventlog: fix _eventlog_CloseEventLog.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_server/srv_eventlog_nt.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c
index ec35e4b..0bf0730 100644
--- a/source3/rpc_server/srv_eventlog_nt.c
+++ b/source3/rpc_server/srv_eventlog_nt.c
@@ -695,7 +695,16 @@ NTSTATUS _eventlog_ClearEventLogW(pipes_struct *p,
NTSTATUS _eventlog_CloseEventLog(pipes_struct * p,
struct eventlog_CloseEventLog *r)
{
- return elog_close( p, r->in.handle );
+ NTSTATUS status;
+
+ status = elog_close( p, r->in.handle );
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+ }
+
+ ZERO_STRUCTP(r->out.handle);
+
+ return NT_STATUS_OK;
}
/********************************************************************
--
Samba Shared Repository
More information about the samba-cvs
mailing list