summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-07 01:52:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:54 -0500
commitc226b7d4beaa9239b8790889aa0a8d3c23eac73c (patch)
tree988304621116b1f8a0bd2e78a53854bd077baefa /source3/rpc_server
parente127501d4589a5a9c92e2f400fc67bda5a8e6855 (diff)
downloadsamba-c226b7d4beaa9239b8790889aa0a8d3c23eac73c.tar.gz
samba-c226b7d4beaa9239b8790889aa0a8d3c23eac73c.tar.bz2
samba-c226b7d4beaa9239b8790889aa0a8d3c23eac73c.zip
r10795: Fix code before decl error.
Jeremy. (This used to be commit 30bd894ee63e5be266b6069533138ccb3c0fbccb)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_eventlog_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_eventlog_lib.c b/source3/rpc_server/srv_eventlog_lib.c
index a8c1ad51d2..8c7ce4a648 100644
--- a/source3/rpc_server/srv_eventlog_lib.c
+++ b/source3/rpc_server/srv_eventlog_lib.c
@@ -54,9 +54,10 @@ TDB_CONTEXT *init_eventlog_tdb( char *tdbfilename )
/* 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 );