From 0cff881d699f77ca14c66e5956350a966205186e Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Wed, 18 Jun 2014 18:07:51 -0400 Subject: [PATCH] small fix --- src/toxic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toxic.c b/src/toxic.c index c7e0465..0aa441c 100644 --- a/src/toxic.c +++ b/src/toxic.c @@ -440,7 +440,7 @@ static void load_data(Tox *m, char *path) } else { int st; - if ((st = store_data(m, path)) == 0) + if ((st = store_data(m, path)) != 0) exit_toxic_err("failed in load_data", FATALERR_STORE_DATA); } }