summaryrefslogtreecommitdiff
path: root/testing/toxic
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic')
-rw-r--r--testing/toxic/prompt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c
index e1a7d75c..c0169c62 100644
--- a/testing/toxic/prompt.c
+++ b/testing/toxic/prompt.c
@@ -121,6 +121,11 @@ void cmd_add(ToxWindow *self, Messenger *m, char **args)
121 } 121 }
122 id_bin[i] = x; 122 id_bin[i] = x;
123 } 123 }
124
125 for (i = 0; i < FRIEND_ADDRESS_SIZE; i++) {
126 id[i] = toupper(id[i]);
127 }
128
124 int num = m_addfriend(m, id_bin, (uint8_t*) msg, strlen(msg)+1); 129 int num = m_addfriend(m, id_bin, (uint8_t*) msg, strlen(msg)+1);
125 switch (num) { 130 switch (num) {
126 case FAERR_TOOLONG: 131 case FAERR_TOOLONG: