Ignore:
Timestamp:
2016-12-26T22:39:18Z (6 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
  • protocols/purple/purple.c

    r90a45b8 rd57484d  
    16901690        }
    16911691
    1692         g_assert((int) B_EV_IO_READ == (int) PURPLE_INPUT_READ);
    1693         g_assert((int) B_EV_IO_WRITE == (int) PURPLE_INPUT_WRITE);
     1692        g_return_if_fail((int) B_EV_IO_READ == (int) PURPLE_INPUT_READ);
     1693        g_return_if_fail((int) B_EV_IO_WRITE == (int) PURPLE_INPUT_WRITE);
    16941694
    16951695        dir = g_strdup_printf("%s/purple", global.conf->configdir);
Note: See TracChangeset for help on using the changeset viewer.