Typo.
authorIain Patterson <me@iain.cx>
Sun, 1 Apr 2012 09:48:52 +0000 (10:48 +0100)
committerIain Patterson <me@iain.cx>
Sun, 1 Apr 2012 09:48:52 +0000 (10:48 +0100)
registry.cpp

index 1be5f4d..6b70a96 100644 (file)
@@ -133,7 +133,7 @@ int expand_parameter(HKEY key, char *value, char *data, unsigned long datalen, b
 \r
   ret = ExpandEnvironmentStrings((char *) buffer, data, datalen);\r
   if (! ret || ret > datalen) {\r
-    log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, value, buffer, error_string(GetLastError()), 0);\r
+    log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, buffer, error_string(GetLastError()), 0);\r
     HeapFree(GetProcessHeap(), 0, buffer);\r
     return 3;\r
   }\r