Merge branch 'sigar-1.6'

This commit is contained in:
Doug MacEachern 2009-11-09 16:27:46 -08:00
commit 7cc2308fc8
1 changed files with 1 additions and 1 deletions

View File

@ -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 */