commit 229d47fceca9b96be6db3027c5090c05042d6d56
parent 1a84f078eff8ebcbff66a2b1fef83995b2562dcd
Author: pranomostro <pranomestro@gmail.com>
Date: Mon, 31 Oct 2016 17:58:15 +0100
Add missing variable for weprintf conversion.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ratox.c b/ratox.c
@@ -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();