summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-20 14:29:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:06 -0500
commitf1195329a7f4401af730033c4d8d5570b42c2780 (patch)
tree14f524af58e6c84606637208c2ef24b2da40ef53 /source3/registry
parent580ef1f81e8f8ee02a4300366029cedbac65413e (diff)
downloadsamba-f1195329a7f4401af730033c4d8d5570b42c2780.tar.gz
samba-f1195329a7f4401af730033c4d8d5570b42c2780.tar.bz2
samba-f1195329a7f4401af730033c4d8d5570b42c2780.zip
r11227: patch from brian moran to fix typo in eventlog message file registry value name
(This used to be commit 34c3fd77b320d4fe5e0f1452aa09ea5ec2797494)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_eventlog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_eventlog.c b/source3/registry/reg_eventlog.c
index 61c73abd4b..d802b18aca 100644
--- a/source3/registry/reg_eventlog.c
+++ b/source3/registry/reg_eventlog.c
@@ -301,7 +301,7 @@ BOOL eventlog_add_source( const char *eventlog, const char *sourcename,
}
TALLOC_FREE( subkeys );
- /* at this point KEY_EVENTLOG/<eventlog>/<sourcename> key is in there. Now need to add EventLogMessageFile */
+ /* at this point KEY_EVENTLOG/<eventlog>/<sourcename> key is in there. Now need to add EventMessageFile */
/* now allocate room for the source's subkeys */
@@ -320,14 +320,14 @@ BOOL eventlog_add_source( const char *eventlog, const char *sourcename,
return False;
}
DEBUG( 5,
- ( "Storing EventLogMessageFile [%s] to eventlog path of [%s]\n",
+ ( "Storing EventMessageFile [%s] to eventlog path of [%s]\n",
messagefile, evtlogpath ) );
regdb_fetch_values( evtlogpath, values );
init_unistr2( &data, messagefile, UNI_STR_TERMINATE );
- regval_ctr_addvalue( values, "EventLogMessageFile", REG_EXPAND_SZ,
+ regval_ctr_addvalue( values, "EventMessageFile", REG_SZ,
( char * ) data.buffer,
data.uni_str_len * sizeof( uint16 ) );
regdb_store_values( evtlogpath, values );