Here's the proper fix instead of the hack of d28ce569fe233141f86fe516878361da01c9f9cb...
[mmh] / uip / mhbuildsbr.c
index 87ebf16..c349bf8 100644 (file)
@@ -859,7 +859,7 @@ set_id (CT ct, int top)
     if (clock == 0) {
        time (&clock);
        snprintf (msgid, sizeof(msgid), "<%d.%ld.%%d@%s>\n",
-               (int) getpid(), (long) clock, LocalName());
+               (int) getpid(), (long) clock, LocalName(1));
        partno = 0;
        msgfmt = getcpy(msgid);
     }
@@ -988,8 +988,7 @@ compose_content (CT ct)
     default:
        if (!ce->ce_file) {
            pid_t child_id;
-           int i, len, buflen;
-           volatile int xstdout;
+           int i, xstdout, len, buflen;
            char *bp, **ap, *cp;
            char *vec[4], buffer[BUFSIZ];
            FILE *out;