summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-31 10:37:15 +0300
committermonsta <[email protected]>2015-12-31 10:37:15 +0300
commitcbfdcc0669685c3e01a10e5c83a0a02b133c0848 (patch)
tree3923af6b80e226d6e9bdef1fa156ccc7d66a01e4
parent4d0c3f3ba8b99fd640170810cde47bb981e2fc91 (diff)
downloadmate-session-manager-cbfdcc0669685c3e01a10e5c83a0a02b133c0848.tar.bz2
mate-session-manager-cbfdcc0669685c3e01a10e5c83a0a02b133c0848.tar.xz
mdm: fix logic error
-rw-r--r--mate-session/mdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-session/mdm.c b/mate-session/mdm.c
index 3fca19c..bbb40eb 100644
--- a/mate-session/mdm.c
+++ b/mate-session/mdm.c
@@ -301,7 +301,7 @@ static gboolean mdm_init_protocol_connection(MdmProtocolData* data)
response = mdm_send_protocol_msg(data, MDM_PROTOCOL_MSG_VERSION);
- if (!response || strncmp(response, "MDM ", strlen("MDM ") != 0))
+ if (!response || strncmp(response, "MDM ", strlen("MDM ")) != 0)
{
g_free(response);