svn commit: samba r10795 - in branches/SAMBA_3_0/source/rpc_server: .

jra at samba.org jra at samba.org
Fri Oct 7 01:52:48 GMT 2005


Author: jra
Date: 2005-10-07 01:52:48 +0000 (Fri, 07 Oct 2005)
New Revision: 10795

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

Log:
Fix code before decl error.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/rpc_server/srv_eventlog_lib.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_eventlog_lib.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_eventlog_lib.c	2005-10-07 01:52:45 UTC (rev 10794)
+++ branches/SAMBA_3_0/source/rpc_server/srv_eventlog_lib.c	2005-10-07 01:52:48 UTC (rev 10795)
@@ -54,9 +54,10 @@
 /* make the tdb file name for an event log, given destination buffer and size */
 char *mk_tdbfilename( char *dest_buffer, char *eventlog_name, int size_dest )
 {
+	pstring ondisk_name;
+
 	if ( !dest_buffer )
 		return NULL;
-	pstring ondisk_name;
 
 	pstrcpy( ondisk_name, "EV" );
 	pstrcat( ondisk_name, eventlog_name );



More information about the samba-cvs mailing list