diff options
| author | 2012-12-03 20:32:22 +0100 | |
|---|---|---|
| committer | 2012-12-03 21:28:38 +0100 | |
| commit | 4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b (patch) | |
| tree | 9c707e4384c5be2eee462729e3e378e3a738c0b1 /src/users.cpp | |
| parent | Fix typos in ebdaf368e137fc933e648ee88a08a4f83e796f87 (diff) | |
| download | inspircd++-4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b.tar.gz inspircd++-4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b.tar.bz2 inspircd++-4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b.zip | |
Fix broken RetrieveLastError()
- FORMAT_MESSAGE_IGNORE_INSERTS flag wasn't used and we never pass insertion parameters, this could cause FormatMessage() to fail
- The return value of FormatMessage() wasn't checked, if it returned zero (failure) then RetrieveLastError() returned garbage if err[] wasn't initialized previously
Diffstat (limited to 'src/users.cpp')
0 files changed, 0 insertions, 0 deletions
