svn commit: samba r25535 - in branches/SAMBA_4_0: . source/smbd
jelmer at samba.org
jelmer at samba.org
Fri Oct 5 21:51:48 GMT 2007
Author: jelmer
Date: 2007-10-05 21:51:47 +0000 (Fri, 05 Oct 2007)
New Revision: 25535
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25535
Log:
Deal with events subsystem failures.
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/smbd/server.c
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/SAMBA_4_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/server.c 2007-10-05 21:41:17 UTC (rev 25534)
+++ branches/SAMBA_4_0/source/smbd/server.c 2007-10-05 21:51:47 UTC (rev 25535)
@@ -307,6 +307,11 @@
should hang off that */
event_ctx = event_context_init(talloc_autofree_context());
+ if (event_ctx == NULL) {
+ DEBUG(0,("Initializing event context failed\n"));
+ return 1;
+ }
+
/* initialise clustering if needed */
cluster_ctdb_init(event_ctx, model);
More information about the samba-cvs
mailing list