summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-08-21 17:54:13 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-21 17:54:13 +0200
commit7aea193a971a395b3afd09a6fa6f1b8985fc431a (patch)
treefd8ae4a4673f4008f3d9b3ac1278d7599745e819
parent743e6a1a24b3e2af1e3e7255cd74126f53bc85e5 (diff)
downloadefl-7aea193a971a395b3afd09a6fa6f1b8985fc431a.tar.gz
ecore_con: fix test to properly send the right amount of data (including the '\0').
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_eet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c b/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
index 99926a0e9c..e6eca4daf8 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
@@ -76,7 +76,7 @@ _eet_data_cb(void *data EINA_UNUSED, Ecore_Con_Reply *reply, const char *protoco
fail_if(received->id != 1);
ecore_con_eet_raw_send(reply, protocol_name, "message", toSend,
- strlen(toSend));
+ strlen(toSend) + 1);
}
static Eina_Bool