summaryrefslogtreecommitdiff
path: root/mate-session/mdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-session/mdm.c')
-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);