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;
|
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_autofree gchar *emsg = g_win32_error_message(GetLastError());
|
||||||
g_critical("error setting timeout for com port: %s", emsg);
|
g_critical("error setting timeout for com port: %s", emsg);
|
||||||
CloseHandle(c->handle);
|
CloseHandle(c->handle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user