Removed configure option --with-hash-prefix and moved backup-prefix to profile
[mmh] / uip / rmf.c
index a49ba4c..878f22a 100644 (file)
--- a/uip/rmf.c
+++ b/uip/rmf.c
@@ -160,7 +160,7 @@ rmf (char *folder)
 
     (void)ext_hook("del-hook", maildir, (char *)0);
 
-    j = strlen(BACKUP_PREFIX);
+    j = strlen(backup_prefix);
     while ((dp = readdir (dd))) {
        switch (dp->d_name[0]) {
            case '.': 
@@ -182,7 +182,7 @@ rmf (char *folder)
                if (m_atoi (dp->d_name))
                    break;
                if (strcmp (dp->d_name, LINK) == 0
-                       || strncmp (dp->d_name, BACKUP_PREFIX, j) == 0)
+                       || strncmp (dp->d_name, backup_prefix, j) == 0)
                    break;
 
                admonish (NULL, "file \"%s/%s\" not deleted",