Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
- Loading branch information