Mark Crispin wrote:
This test is unnecessary. mail_newsearchpgm() never returns null; the application will crash if the malloc() fails.

Why for the life of me is I cannot understand your library calls abort() to crash the application because of out of memory or encounter an error from the server. That is a big no no, please change your library to return a failure and have the application that is calling your library to deal with errors. If the applications refuses to check for errors, then that is their problem.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to