summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-15 13:43:19 +0100
committersin <sin@2f30.org>2014-09-15 13:43:19 +0100
commitd96ce07d8528e51079dca4ae1de77b21f83a8b4f (patch)
tree4b25d9a2761d068d7c0f07963ac001d34e411efb
parentc40a014160d6111d0253bdbd813c770c508f91b1 (diff)
Rename status file to statusmsg
Status is received for the actual status (none, away and busy).
-rw-r--r--ratatox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatox.c b/ratatox.c
index 1cb25e0..3a1c63a 100644
--- 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");