Removed the now unused SOprint().
[mmh] / uip / mhshowsbr.c
index b7452d8..15991c1 100644 (file)
@@ -13,7 +13,6 @@
 #include <errno.h>
 #include <setjmp.h>
 #include <signal.h>
-#include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
@@ -41,15 +40,11 @@ int nolist   = 0;
 char *progsw = NULL;
 
 /* flags for moreproc/header display */
-int nomore   = 0;
 char *formsw = NULL;
 
 pid_t xpid = 0;
 
 
-/* termsbr.c */
-int SOprintf(char *, ...);
-
 /* mhparse.c */
 int pidcheck(int);
 
@@ -201,13 +196,8 @@ DisplayMsgHeader(CT ct, char *form)
        vec[vecp++] = "-nobody";
        vec[vecp++] = ct->c_file;
 
-       /*
-       ** If we've specified -(no)moreproc,
-       ** then just pass that along.
-       */
-       if (nomore) {
-               vec[vecp++] = "-nomoreproc";
-       } else if (progsw) {
+       /* If we've specified -moreproc, then just pass that along. */
+       if (progsw) {
                vec[vecp++] = "-moreproc";
                vec[vecp++] = progsw;
        }
@@ -632,8 +622,7 @@ show_text(CT ct, int serial, int alternate)
        */
        if (!alternate || ct->c_subtype == TEXT_PLAIN) {
                snprintf(buffer, sizeof(buffer), "%%p%s '%%F'",
-                               progsw ? progsw : moreproc && *moreproc ?
-                               moreproc : "more");
+                               progsw ? progsw : moreproc);
                cp = (ct->c_showproc = getcpy(buffer));
                return show_content_aux(ct, serial, alternate, cp, NULL);
        }