diff options
author | dequis <dx@dxzone.com.ar> | 2016-12-26 19:39:18 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-12-26 19:39:18 -0300 |
commit | d57484d99125eb602e71629d7cacf76fc36cdd9c (patch) | |
tree | 4ca56875a5b22ee30505c8ffad847c50cabf3950 /otr.c | |
parent | 90a45b8fc30a0b8b96c60926e638291fc0d0fa08 (diff) |
Change some asserts into g_return_if_fail()
Because crashing asserts are bad, and maybe this helps fix the
captures_build_path issue with debian's reproducible builds
(those asserts probably include __FILE__)
Diffstat (limited to 'otr.c')
-rw-r--r-- | otr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1513,7 +1513,7 @@ struct im_connection *check_imc(void *opdata, const char *accountname, break; } } - assert(l != NULL); /* a match should always be found */ + g_return_val_if_fail(l, NULL); if (!l) { return NULL; } |