svn commit: samba r8848 - in trunk/source/rpc_server: .

jra at samba.org jra at samba.org
Fri Jul 29 16:24:40 GMT 2005


Author: jra
Date: 2005-07-29 16:24:39 +0000 (Fri, 29 Jul 2005)
New Revision: 8848

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8848

Log:
Fix first eventlog initialization crash. There are others...
Jeremy.

Modified:
   trunk/source/rpc_server/srv_eventlog_nt.c


Changeset:
Modified: trunk/source/rpc_server/srv_eventlog_nt.c
===================================================================
--- trunk/source/rpc_server/srv_eventlog_nt.c	2005-07-29 10:58:05 UTC (rev 8847)
+++ trunk/source/rpc_server/srv_eventlog_nt.c	2005-07-29 16:24:39 UTC (rev 8848)
@@ -209,8 +209,7 @@
     
 	/* for each eventlog that we have, find info related to it and copy to the new DB */
 	evtlog_list = lp_eventlog_list();
-	while (*evtlog_list) 
-	{
+	while (evtlog_list && *evtlog_list) {
 		DEBUG(10,("cleanup_eventlog_parameters: Cleaning up =>[%s]\n",*evtlog_list));	
 	
 		safe_strcpy(evtlogname,(*evtlog_list),sizeof(evtlogname)-1);



More information about the samba-cvs mailing list