From d96ce07d8528e51079dca4ae1de77b21f83a8b4f Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 15 Sep 2014 13:43:19 +0100 Subject: Rename status file to statusmsg Status is received for the actual status (none, away and busy). --- ratatox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatox.c') 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"); -- cgit v1.2.3