add (errnum) in front of windows error messages
authorMichael Tokarev <mjt@tls.msk.ru>
Fri, 4 May 2012 12:41:47 +0000 (16:41 +0400)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 8 May 2012 14:56:34 +0000 (16:56 +0200)
On localized, non-English versions of windows, it is
common to have two active charsets -- for console applications
and for GUI applications, together with localized error messages
returned by windows.  But two charsets are rarely compatible,
so sending the same byte sequence to console and to windows
event log makes one or another to be unreadable.  So at least
include the error number, this way it will be possible to
lookup the actual error test using external ways.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

No differences found