]> diplodocus.org Git - nmh/blobdiff - uip/mhoutsbr.c
fdcompare.c: Move interface to own file.
[nmh] / uip / mhoutsbr.c
index 638cf97977641fb00ed70a84abc8a07243dc319a..0f2b9eb3089e576c0c362930f0bc7dcffbb66883 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * mhoutsbr.c -- routines to output MIME messages
+/* mhoutsbr.c -- routines to output MIME messages
  *            -- given a Content structure
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -8,20 +6,18 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/error.h"
 #include <fcntl.h>
-#include <h/utils.h>
-#include <h/md5.h>
-#include <h/mts.h>
-#include <h/tws.h>
-#include <h/mime.h>
-#include <h/mhparse.h>
-
+#include "h/utils.h"
+#include "h/md5.h"
+#include "h/mts.h"
+#include "h/tws.h"
+#include "h/mime.h"
+#include "h/mhparse.h"
+#include "mhoutsbr.h"
+#include "sbr/base64.h"
 
-/*
- * prototypes
- */
-int output_message_fp (CT, FILE *, char *);
 
 /*
  * static prototypes
@@ -175,13 +171,13 @@ output_content (CT ct, FILE *out)
                putc ('\n', out);
                result = write8Bit (ct, out);
            } else {
-               advise (NULL, "can't handle binary transfer encoding in content");
+               inform("can't handle binary transfer encoding in content");
                result = NOTOK;
            }
            break;
 
        default:
-           advise (NULL, "unknown transfer encoding in content");
+           inform("unknown transfer encoding in content");
            result = NOTOK;
            break;
        }