summaryrefslogtreecommitdiff
path: root/auto_tests/messenger_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/messenger_test.c')
-rw-r--r--auto_tests/messenger_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c
index 64b44d5f..28747899 100644
--- a/auto_tests/messenger_test.c
+++ b/auto_tests/messenger_test.c
@@ -169,7 +169,7 @@ START_TEST(test_getself_name)
169 char nick_check[len]; 169 char nick_check[len];
170 170
171 setname(m, (uint8_t *)nickname, len); 171 setname(m, (uint8_t *)nickname, len);
172 getself_name(m, (uint8_t *)nick_check); 172 getself_name(m, (uint8_t *)nick_check, len);
173 173
174 ck_assert_msg((!STRINGS_EQUAL(nickname, nick_check)), 174 ck_assert_msg((!STRINGS_EQUAL(nickname, nick_check)),
175 "getself_name failed to return the known name!\n" 175 "getself_name failed to return the known name!\n"