commit | 7c613d6190d1a112a1943aa9f6526f070bc555b5 | [log] [tgz] |
---|---|---|
author | <shinichiro.hamaji@gmail.com> | Tue Jul 03 05:25:54 2012 +0000 |
committer | <shinichiro.hamaji@gmail.com> | Tue Jul 03 05:25:54 2012 +0000 |
tree | bc40c630240a890141c167a1cc9fa3286246a965 | |
parent | 6d42536769806d6aa875866ca5072937f57f5e49 [diff] |
Fix LOG_SYSRESULT result is expected to be GetLastError() or WSAGetLastError(), so we have to convert it to HRESULT by HRESULT_FROM_WIN32 for FAILED() macro. Use FormatMesssageA (ANSI version). since glog may not work with Unicode string. Contributed by ukai@ git-svn-id: https://google-glog.googlecode.com/svn/trunk@113 eb4d4688-79bd-11dd-afb4-1d65580434c0