ecore_con: fix test to actually send a NULL terminated string.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Jul 2015 00:55:32 +0000 (02:55 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Jul 2015 01:05:37 +0000 (03:05 +0200)
src/tests/ecore_con/ecore_con_test_ecore_con_eet.c

index 932c32a..cdb7af4 100644 (file)
@@ -90,7 +90,7 @@ _eet_svr_cnct_cb(void *data, Ecore_Con_Reply *reply, Ecore_Con_Client *conn EINA
      ecore_con_eet_send(reply, TEST_STREAM, &toSend);
    else
      ecore_con_eet_raw_send(reply, TEST_STREAM, "message", rawMsg,
-                            strlen(rawMsg));
+                            strlen(rawMsg) + 1);
 
    return EINA_TRUE;
 }