]> git.marmaro.de Git - mmh/blobdiff - uip/mhtest.c
Removed the ATTVIBUG compile option.
[mmh] / uip / mhtest.c
index df5985fac4ab45682f0d285cbf849928043acbd2..0cfce9f873f2a90f286c4c25b60be1e6fe373381 100644 (file)
@@ -279,7 +279,7 @@ do_cache:
                ** message(s) are coming from a folder
                */
                if (!msgs.size)
-                       app_msgarg(&msgs, "cur");
+                       app_msgarg(&msgs, seq_cur);
                if (!folder)
                        folder = getcurfol();
                maildir = toabsdir(folder);
@@ -353,7 +353,7 @@ do_cache:
 
        /* If reading from a folder, do some updating */
        if (mp) {
-               context_replace(pfolder, folder);  /* update current folder */
+               context_replace(curfolder, folder); /* update current folder */
                seq_setcur(mp, mp->hghsel);  /* update current message */
                seq_save(mp);  /* synchronize sequences  */
                context_save();  /* save the context file  */