Changed second argument of calls to part_ok() and type_ok() from
[mmh] / uip / post.c
index 87e31e8..cd96ed7 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * post.c -- enter messages into the mail transport system
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -1311,16 +1309,13 @@ make_bcc_file (int dashstuff)
 static int
 find_prefix (void)
 {
-    int        len, result;
+    int        result = OK;
     unsigned char buffer[BUFSIZ];
     FILE *in;
 
     if ((in = fopen (tmpfil, "r")) == NULL)
        adios (tmpfil, "unable to re-open");
 
-    len = strlen (prefix);
-
-    result = OK;
     while (fgets (buffer, sizeof(buffer) - 1, in))
        if (buffer[0] == '-' && buffer[1] == '-') {
            unsigned char *cp;