changeset: 6584:7992020e522d user: Kevin McCarthy <[email protected]> date: Sat Mar 19 17:25:10 2016 -0700 link: http://dev.mutt.org/hg/mutt/rev/7992020e522d
Turn off asserts in sendlib.c. The Doctor reported triggering an assertion in convert_file_to(), due to an unexpected errno from iconv(). According to the comments, the assertions were only enabled for debugging and should have been turned off. We certainly don't want to abort mutt for this case, so just disable them as the comment indicates. diffs (12 lines): diff -r 36bf3b7ebd2c -r 7992020e522d sendlib.c --- a/sendlib.c Sat Mar 19 16:19:41 2016 -0700 +++ b/sendlib.c Sat Mar 19 17:25:10 2016 -0700 @@ -53,7 +53,7 @@ #endif /* If you are debugging this file, comment out the following line. */ -/*#define NDEBUG*/ +#define NDEBUG #ifdef NDEBUG #define assert(x)
