Merge branch 'sigar-1.6'
This commit is contained in:
commit
7cc2308fc8
|
@ -351,7 +351,7 @@ JNIEXPORT jobject SIGAR_JNI(win32_EventLog_readlog)
|
||||||
|
|
||||||
/* Increment up to the machine name. */
|
/* Increment up to the machine name. */
|
||||||
machineName = (LPWSTR)((LPBYTE)pevlr + sizeof(EVENTLOGRECORD) +
|
machineName = (LPWSTR)((LPBYTE)pevlr + sizeof(EVENTLOGRECORD) +
|
||||||
wcslen(source) + 1);
|
(wcslen(source) + 1) * sizeof(WCHAR));
|
||||||
UNICODE_SetStringField("computerName", machineName);
|
UNICODE_SetStringField("computerName", machineName);
|
||||||
|
|
||||||
/* Get user id info */
|
/* Get user id info */
|
||||||
|
|
Loading…
Reference in New Issue