Commit 29e43b89 29e43b891d3e804d5b7e9ae3daa2b2dd7d2c5be6 by Alain Magloire

Buglet fix.

1 parent c1813e67
1 2001-06-01 Alain Magloire
2
3 * mailbox/mbx_pop.c (pop_writeline): if buffer is NULL noop.
4
1 2001-06-01 Sergey Poznyakoff 5 2001-06-01 Sergey Poznyakoff
2 * imap4d/search.c: case-insensitive comparison for text fields. 6 * imap4d/search.c: case-insensitive comparison for text fields.
3 Error checking for stray symbols at the end of criteria. 7 Error checking for stray symbols at the end of criteria.
......
...@@ -1783,6 +1783,8 @@ pop_writeline (pop_data_t mpd, const char *format, ...) ...@@ -1783,6 +1783,8 @@ pop_writeline (pop_data_t mpd, const char *format, ...)
1783 va_list ap; 1783 va_list ap;
1784 int done = 1; 1784 int done = 1;
1785 1785
1786 if (mpd->buffer == NULL)
1787 return EINVAL;
1786 va_start(ap, format); 1788 va_start(ap, format);
1787 do 1789 do
1788 { 1790 {
......