if (regexec (&preg, linestr, 3, pmatch, 0) == 0) {
linestr[pmatch[1].rm_eo] = '\0';
linestr[pmatch[2].rm_eo] = '\0';
- if (mutt_strcmp (linestr + pmatch[1].rm_so, hostname) == 0 &&
- mutt_strcmp (linestr + pmatch[2].rm_so, buf) == 0) {
+ if (str_cmp (linestr + pmatch[1].rm_so, hostname) == 0 &&
+ str_cmp (linestr + pmatch[2].rm_so, buf) == 0) {
regfree (&preg);
FREE(&linestr);
fclose (fp);
/* We only support X.509 certificates (not OpenPGP) at the moment */
if (gnutls_certificate_type_get (state) != GNUTLS_CRT_X509) {
- mutt_error (_("Error certificate is not X.509"));
+ mutt_error (_("Certificate is not X.509"));
mutt_sleep (2);
return 0;
}