diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-13 04:12:23 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-13 04:12:23 -0700 |
commit | 4cc4e79088c3478e1d50606006a39c2c872da0db (patch) | |
tree | 33a39a2d2c43327423db49fedbceef7bbbd92dad /testing/nTox.c | |
parent | fe4e37760bdbf4ad69dc596aa7e7c427412c65dc (diff) | |
parent | 6b06431e9bcbef2eb1126dda01a68d4a81f0825e (diff) |
Merge pull request #447 from gladiac/fixes
Fixes
Diffstat (limited to 'testing/nTox.c')
-rw-r--r-- | testing/nTox.c | 2 |
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 | ||