initial illumos port

This commit is contained in:
Peter Tribble
2014-03-21 16:37:00 -07:00
committed by Jon Trulson
parent 3c14b8b5ce
commit 468d576030
48 changed files with 117 additions and 71 deletions

View File

@@ -938,9 +938,9 @@ MIMEBodyPart::csFromContentType(DtMailValueSeq &value)
}
}
// Get charset value
val_ptr = strstr(val, "charset=");
val_ptr = const_cast <char *> (strstr(val, "charset="));
if ( val_ptr == NULL ) {
val_ptr = strstr(val, "CHARSET=");
val_ptr = const_cast <char *> (strstr(val, "CHARSET="));
}
if ( val_ptr == NULL ) {
return NULL;