Changeset d57484d for otr.c


Ignore:
Timestamp:
2016-12-26T22:39:18Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
a04705b
Parents:
90a45b8
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • otr.c

    r90a45b8 rd57484d  
    15141514                        }
    15151515                }
    1516                 assert(l != NULL);  /* a match should always be found */
     1516                g_return_val_if_fail(l, NULL);
    15171517                if (!l) {
    15181518                        return NULL;
Note: See TracChangeset for help on using the changeset viewer.