summaryrefslogtreecommitdiff
path: root/testing/nTox.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-13 04:12:23 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-13 04:12:23 -0700
commit4cc4e79088c3478e1d50606006a39c2c872da0db (patch)
tree33a39a2d2c43327423db49fedbceef7bbbd92dad /testing/nTox.c
parentfe4e37760bdbf4ad69dc596aa7e7c427412c65dc (diff)
parent6b06431e9bcbef2eb1126dda01a68d4a81f0825e (diff)
Merge pull request #447 from gladiac/fixes
Fixes
Diffstat (limited to 'testing/nTox.c')
-rw-r--r--testing/nTox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index 59d1cbf6..74db2ae2 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -113,7 +113,7 @@ char *format_message(Messenger *m, char *message, int friendnum)
113 if (friendnum != -1) { 113 if (friendnum != -1) {
114 getname(m, friendnum, (uint8_t*)name); 114 getname(m, friendnum, (uint8_t*)name);
115 } else { 115 } else {
116 getself_name(m, (uint8_t*)name); 116 getself_name(m, (uint8_t*)name, sizeof(name));
117 } 117 }
118 char *msg = malloc(100+strlen(message)+strlen(name)+1); 118 char *msg = malloc(100+strlen(message)+strlen(name)+1);
119 119