Changeset 5166:e6f958b093b6 for ascii.h

Show
Ignore:
Timestamp:
2007-06-09 19:58:22 (18 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Make GPGME backend generate a RFC3156-compliant micalg parameter
(blush). Based on a patch by Stefan Haun. Closes #2901.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ascii.h

    r4343 r5166  
    4040#define ascii_strncmp(a,b,c) mutt_strncmp(a,b,c) 
    4141 
     42static inline char* ascii_strlower (char *s) 
     43{ 
     44  char *p = s; 
     45 
     46  while (*p) 
     47  { 
     48    *p = ascii_tolower ((unsigned int) *p); 
     49    p++; 
     50  } 
     51 
     52  return s; 
     53} 
     54 
    4255#endif