tRename status file to statusmsg - ratox - FIFO based tox client
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d96ce07d8528e51079dca4ae1de77b21f83a8b4f
(DIR) parent c40a014160d6111d0253bdbd813c770c508f91b1
(HTM) Author: sin <sin@2f30.org>
Date: Mon, 15 Sep 2014 13:43:19 +0100
Rename status file to statusmsg
Status is received for the actual status (none, away and busy).
Diffstat:
M ratatox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/ratatox.c b/ratatox.c
t@@ -335,7 +335,7 @@ cb_status_message(Tox *m, int32_t fid, const uint8_t *data, uint16_t len, void *
TAILQ_FOREACH(f, &friendhead, entry) {
if (f->fid == fid) {
- snprintf(path, sizeof(path), "%s/status", f->idstr);
+ snprintf(path, sizeof(path), "%s/statusmsg", f->idstr);
fp = fopen(path, "w");
if (!fp) {
perror("fopen");