~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to pith/sort.c

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2008-09-23 12:17:56 UTC
  • mfrom: (2.1.8 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080923121756-6u4x8bwq89qlzt32
Tags: 2.00+dfsg-2
Update to package description: note that Alpine is no longer in
alpha. (Closes: #499640)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#if !defined(lint) && !defined(DOS)
2
 
static char rcsid[] = "$Id: sort.c 912 2008-01-16 01:20:37Z hubert@u.washington.edu $";
 
2
static char rcsid[] = "$Id: sort.c 1108 2008-07-10 05:01:13Z mikes@u.washington.edu $";
3
3
#endif
4
4
 
5
5
/*
21
21
#include "../pith/status.h"
22
22
#include "../pith/msgno.h"
23
23
#include "../pith/flag.h"
 
24
#include "../pith/pineelt.h"
24
25
#include "../pith/thread.h"
25
26
#include "../pith/search.h"
26
27
#include "../pith/pattern.h"
468
469
     * Turn off the MN_USOR flag. Don't bother going through the
469
470
     * function call and the message number mappings.
470
471
     */
471
 
    if(THREADING())
472
 
      for(i = 1L; i <= stream->nmsgs; i++)
473
 
        if((mc = mail_elt(stream, i)) != NULL)
474
 
          mc->spare7 = 0;
 
472
    if(THREADING()){
 
473
        PINELT_S *pelt;
 
474
 
 
475
        for(i = 1L; i <= stream->nmsgs; i++)
 
476
          if((mc = mail_elt(stream, i)) != NULL && (pelt = mc->sparep) != NULL)
 
477
            pelt->unsorted = 0;
 
478
    }
475
479
}
476
480
 
477
481