diff options
author | z3bra <contactatz3bradotorg> | 2016-11-01 00:23:24 +0100 |
---|---|---|
committer | z3bra <contactatz3bradotorg> | 2016-11-08 16:47:51 +0100 |
commit | 8e8d8e82e247a1d6bf5847b1dd9ce846ba2e98d6 (patch) | |
tree | 508184f3dbf0b6b39b610a7a7b0cd9aad75281f3 | |
parent | 7822e61ba0ef35f7a78fb882d291de9dfc335c18 (diff) |
Update status length constant name
-rw-r--r-- | ratox.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1103,7 +1103,7 @@ localinit(void) int r; uint8_t name[TOX_MAX_NAME_LENGTH + 1]; uint8_t address[TOX_FRIEND_ADDRESS_SIZE]; - uint8_t status[TOX_MAX_STATUSMESSAGE_LENGTH + 1]; + uint8_t status[TOX_MAX_STATUS_MESSAGE_LENGTH + 1]; for (i = 0; i < LEN(gslots); i++) { r = mkdir(gslots[i].name, 0777); @@ -1305,7 +1305,7 @@ friendcreate(int32_t frnum) DIR *d; size_t i; int r; - uint8_t status[TOX_MAX_STATUSMESSAGE_LENGTH + 1]; + uint8_t status[TOX_MAX_STATUS_MESSAGE_LENGTH + 1]; f = calloc(1, sizeof(*f)); if (!f) @@ -1465,7 +1465,7 @@ setstatus(void *data) { ssize_t n; int r; - uint8_t status[TOX_MAX_STATUSMESSAGE_LENGTH + 1]; + uint8_t status[TOX_MAX_STATUS_MESSAGE_LENGTH + 1]; n = fiforead(gslots[STATUS].dirfd, &gslots[STATUS].fd[IN], gfiles[IN], status, sizeof(status) - 1); |