commit d96ce07d8528e51079dca4ae1de77b21f83a8b4f
parent c40a014160d6111d0253bdbd813c770c508f91b1
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:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ratatox.c b/ratatox.c
@@ -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");