]> diplodocus.org Git - nmh/blobdiff - uip/mhfixmsg.c
Added delay for output file to be closed.
[nmh] / uip / mhfixmsg.c
index 553b14e3262b23eb6c851f03c436a0147a14bc54..2a701f0057478e467480a23af24ca073b966fd65 100644 (file)
@@ -2589,7 +2589,7 @@ static int
 fix_filename_param (char *name, char *value, PM *first_pm, PM *last_pm) {
     int fixed = 0;
 
 fix_filename_param (char *name, char *value, PM *first_pm, PM *last_pm) {
     int fixed = 0;
 
-    if (has_prefix(value, "=?") && HasSuffix(value, "?=")) {
+    if (has_prefix(value, "=?") && has_suffix(value, "?=")) {
         /* Looks like an RFC 2047 encoded parameter. */
         char decoded[PATH_MAX + 1];
 
         /* Looks like an RFC 2047 encoded parameter. */
         char decoded[PATH_MAX + 1];