aboutsummaryrefslogtreecommitdiff
path: root/thunk.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-07-06 16:43:33 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2014-08-09 00:06:32 +0400
commitfdcf6e65bce1f8972030fed7af5e8aa5f6ae92c6 (patch)
tree2a427119adb314059ea7447bd201d92411608286 /thunk.c
parentf13bef9592ab1b03e715487a1a1b3f317f27463f (diff)
qemu-img: Check getchar() return value in read_password() for WIN32
getchar() is a standard c library function which may return with failure (e.g. -1), so like another platforms, also need check it under WIN32. And make the related code match current qemu code styles, too. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'thunk.c')
0 files changed, 0 insertions, 0 deletions