Show
Ignore:
Timestamp:
2007-03-12 10:03:12 (21 months ago)
Author:
Sami Farin <safari-mutt@…>
Branch:
default
Message:

Improve strcat usage (#2802).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • charset.c

    r4963 r4970  
    246246  char scratch[LONG_STRING]; 
    247247 
     248  if (!ascii_strcasecmp (name, "utf-8")) { 
     249    strfcpy (dest, name, dlen); 
     250    goto found_utf8; 
     251  } 
     252 
    248253  /* catch some common iso-8859-something misspellings */ 
    249254  if (!ascii_strncasecmp (name, "8859", 4) && name[4] != '-') 
     
    268273  strfcpy (dest, scratch, dlen); 
    269274 
     275found_utf8: 
    270276  /* for cosmetics' sake, transform to lowercase. */ 
    271277  for (p = dest; *p; p++)