mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-01 16:53:46 +00:00
qga: Add spaces around operator
Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: AlexChen <alex.chen@huawei.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> *fix 80+ char violation while we're here *fix w32 build breakage from changing INVALID_SET_FILE_POINTER definition from a cast to a subtraction Signed-off-by: Michael Roth <michael.roth@amd.com>
This commit is contained in:
parent
27e7de3ca7
commit
0697e9ed29
|
@ -307,7 +307,8 @@ static gboolean ga_channel_open(GAChannel *c, GAChannelMethod method,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (method == GA_CHANNEL_ISA_SERIAL && !SetCommTimeouts(c->handle,&comTimeOut)) {
|
||||
if (method == GA_CHANNEL_ISA_SERIAL
|
||||
&& !SetCommTimeouts(c->handle, &comTimeOut)) {
|
||||
g_autofree gchar *emsg = g_win32_error_message(GetLastError());
|
||||
g_critical("error setting timeout for com port: %s", emsg);
|
||||
CloseHandle(c->handle);
|
||||
|
|
Loading…
Reference in a new issue