Xorriso_sieve_clear_results() dereferenced NULL if message sieve never started

master
Thomas Schmitt 10 years ago
parent df54691f2f
commit dc3263534d
  1. 2
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -1589,6 +1589,8 @@ int Xorriso_sieve_clear_results(struct XorrisO *xorriso, int flag)
{
struct Xorriso_msg_filteR *f;
if(xorriso->msg_sieve == NULL)
return(1);
for(f= xorriso->msg_sieve->first_filter; f != NULL; f= f->next) {
f->num_results= 0;
f->num_delivered= 0;

@ -1 +1 @@
#define Xorriso_timestamP "2012.12.25.175536"
#define Xorriso_timestamP "2012.12.25.180844"

Loading…
Cancel
Save