From: Iain Patterson Date: Sun, 1 Apr 2012 09:48:52 +0000 (+0100) Subject: Typo. X-Git-Tag: v2.11~3 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=da50488b3ff915a0f7d394a43a3ec6611421cac7;p=nssm.git Typo. --- diff --git a/registry.cpp b/registry.cpp index 1be5f4d..6b70a96 100644 --- a/registry.cpp +++ b/registry.cpp @@ -133,7 +133,7 @@ int expand_parameter(HKEY key, char *value, char *data, unsigned long datalen, b ret = ExpandEnvironmentStrings((char *) buffer, data, datalen); if (! ret || ret > datalen) { - log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, value, buffer, error_string(GetLastError()), 0); + log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, buffer, error_string(GetLastError()), 0); HeapFree(GetProcessHeap(), 0, buffer); return 3; }