projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2ac7d
)
gdm-control: Fix bad parenthesis placement for strncmp
work
author
David Binderman
<dcb314@hotmail.com>
Mon, 20 Mar 2023 06:07:56 +0000
(07:07 +0100)
committer
Mikael Magnusson
<mikachu@gmail.com>
Mon, 20 Mar 2023 06:28:02 +0000
(07:28 +0100)
tools/gdm-control/gdm-control.c
patch
|
blob
|
history
diff --git
a/tools/gdm-control/gdm-control.c
b/tools/gdm-control/gdm-control.c
index
db28841
..
25fbc50
100644
(file)
--- a/
tools/gdm-control/gdm-control.c
+++ b/
tools/gdm-control/gdm-control.c
@@
-190,7
+190,7
@@
static gboolean gdm_connect()
}
response = gdm_send_protocol_msg(GDM_PROTOCOL_MSG_VERSION);
- if (!response || strncmp(response, "GDM ", strlen("GDM ")
!= 0)
) {
+ if (!response || strncmp(response, "GDM ", strlen("GDM ")
) != 0
) {
g_free(response);
g_warning("Failed to get protocol version from GDM");