diff options
Diffstat (limited to 'imap/thread.c')
| -rw-r--r-- | imap/thread.c | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/imap/thread.c b/imap/thread.c index 791a7a8..883ae59 100644 --- a/imap/thread.c +++ b/imap/thread.c @@ -198,11 +198,18 @@ static void thread_os_callback(struct searchinfo *si,  			       void *voidarg)  {  	if (sihead->type == search_orderedsubj) +	{  		/* SHOULD BE ALWAYS TRUE */ +		time_t t=0; + +		if (sihead->bs) +			rfc822_parsedate_chk(sihead->bs, &t); +  		os_add( (struct os_struct *)voidarg,  			isuid ? current_maildir_info.msgs[i].uid:i+1,  			sihead->as ? sihead->as:"", -			sihead->bs ? rfc822_parsedt(sihead->bs):0); +			t); +	}  }  static void printthread(struct imap_refmsg *, int); | 
