tAdd missing variable for weprintf conversion. - ratox - FIFO based tox client
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 229d47fceca9b96be6db3027c5090c05042d6d56
DIR parent 1a84f078eff8ebcbff66a2b1fef83995b2562dcd
HTML Author: pranomostro <pranomestro@gmail.com>
Date: Mon, 31 Oct 2016 17:58:15 +0100
Add missing variable for weprintf conversion.
Diffstat:
M ratox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/ratox.c b/ratox.c
t@@ -1470,7 +1470,7 @@ setstatus(void *data)
status[n] = '\0';
r = tox_set_status_message(tox, status, n);
if (r < 0) {
- weprintf("Failed to set status message to \"%s\"\n");
+ weprintf("Failed to set status message to \"%s\"\n", status);
return;
}
datasave();