]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Report correct error when FormatMessage fails.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 1 Nov 2014 17:43:54 +0000 (17:43 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 1 Nov 2014 17:43:54 +0000 (17:43 +0000)
commit89b8e3d6096dc7d6016eb4458bcf4e6bc32951b2
tree070578966537ed545272b84b584fad8d985dc74a
parent09111ea9c27c5f0c2d66866294f3ad9bfc08db9f
Report correct error when FormatMessage fails.

Previously, the original error code would be reported as having come
from FormatMessage.  Spotted by GCC [-Wformat-extra-args].
windows/winmisc.c