diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-14 09:00:55 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-14 09:00:55 -0400 |
commit | 0e0785c822225328a3ccb9aeaf3378c731125b97 (patch) | |
tree | bfb5a6cf21417ebee3b204a8a79e79c836ce6b0b /testing | |
parent | 4ddd91b580edc78755531b86955c8eb828ff2ad0 (diff) | |
parent | 1260aee9e1b61841459f83397f84b089d360819b (diff) |
Merge branch 'patch-6' of https://github.com/Astonex/ProjectTox-Core into pr
Diffstat (limited to 'testing')
-rw-r--r-- | testing/toxic/prompt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index bc4b8545..fb8a5090 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -122,6 +122,11 @@ void cmd_add(ToxWindow *self, Messenger *m, char **args) | |||
122 | } | 122 | } |
123 | id_bin[i] = x; | 123 | id_bin[i] = x; |
124 | } | 124 | } |
125 | |||
126 | for (i = 0; i < FRIEND_ADDRESS_SIZE; i++) { | ||
127 | id[i] = toupper(id[i]); | ||
128 | } | ||
129 | |||
125 | int num = m_addfriend(m, id_bin, (uint8_t*) msg, strlen(msg)+1); | 130 | int num = m_addfriend(m, id_bin, (uint8_t*) msg, strlen(msg)+1); |
126 | switch (num) { | 131 | switch (num) { |
127 | case FAERR_TOOLONG: | 132 | case FAERR_TOOLONG: |