fflush (stdout);
fflush (stderr);
- done (1);
- /* NOTREACHED */
+ return done (1);
}
struct k2v *kv;
CI ci = &ct->c_ctinfo;
- if (ct->c_encoding != CE_7BIT) {
+ if ((ct->c_encoding != CE_7BIT) && (ct->c_encoding != CE_8BIT)) {
admonish (NULL,
- "\"%s/%s\" type in message %s should be encoded in 7bit",
+ "\"%s/%s\" type in message %s should be encoded in 7bit or 8bit",
ci->ci_type, ci->ci_subtype, ct->c_file);
return NOTOK;
}
goto losing_ftp;
#endif
- if (cachefile[0])
+ if (cachefile[0]) {
if (caching)
chmod (cachefile, cachetype ? m_gmprot () : 0444);
else {
fseek (gp, 0L, SEEK_SET);
- while ((cc = fread (buffer, sizeof(*buffer), sizeof(buffer), gp))
+ while ((cc= fread (buffer, sizeof(*buffer), sizeof(buffer), gp))
> 0)
fwrite (buffer, sizeof(*buffer), cc, fp);
fflush (fp);
}
umask (mask);
}
+ }
fseek (ce->ce_fp, 0L, SEEK_SET);
*file = ce->ce_file;