Summary: | suspicion of wrong argument passed to Windows API function | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Tom <tomas.zalusky> |
Component: | Appender | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Windows XP |
Description
Tom
2005-05-20 10:45:10 UTC
Since TCHAR can be either char or wchar_t (but likely char) in this instance, it should be RegSetValueEx(hkey, name, 0, REG_SZ, (LPBYTE)value, lstrlen(value) + sizeof(TCHAR)); Applied Curt's change. It will be in the v1.2.12rc5 build. |