]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix a compile warning with -DDEBUG.
authorSimon Tatham <anakin@pobox.com>
Mon, 18 May 2015 20:17:21 +0000 (21:17 +0100)
committerSimon Tatham <anakin@pobox.com>
Mon, 18 May 2015 20:17:21 +0000 (21:17 +0100)
commit35fde00fd1fdc084a78dc3e4c3f94dbf16bbd236
tree32e4c336541c1744942f14dbb09779aea007c535
parent71cf6454d52f12926e8d3fc73252aff92426dbf2
Fix a compile warning with -DDEBUG.

An unguarded write() in the dputs function caused gcc -Werror to fail
to compile. I'm confused that this hasn't bitten me before, though -
obviously normal builds of PuTTY condition out the faulty code, but
_surely_ this can't be the first time I've enabled the developer
diagnostics since gcc started complaining about unchecked syscall
returns!
unix/uxmisc.c