Show
Ignore:
Timestamp:
1998-11-10 14:14:00 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Introduce or rewrite mutt_{str*cmp,strlen} and use them all over the
place. If there are still segmentation faults due to missing
NONULLs over, they are gone now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • addrbook.c

    r465 r557  
    9494  ALIAS *pa = *(ALIAS **) a; 
    9595  ALIAS *pb = *(ALIAS **) b; 
    96   int r = strcasecmp (pa->name, pb->name); 
     96  int r = mutt_strcasecmp (pa->name, pb->name); 
    9797 
    9898  return (RSORT (r)); 
     
    108108  {  
    109109    if (pb->personal) 
    110       r = strcasecmp (pa->personal, pb->personal); 
     110      r = mutt_strcasecmp (pa->personal, pb->personal); 
    111111    else 
    112112      r = 1; 
     
    115115    r = -1; 
    116116  else 
    117     r = strcasecmp (pa->mailbox, pb->mailbox); 
     117    r = mutt_strcasecmp (pa->mailbox, pb->mailbox); 
    118118  return (RSORT (r)); 
    119119}