]> diplodocus.org Git - nmh/commitdiff
No longer need const cast in sendfrom.c.
authorDavid Levine <levinedl@acm.org>
Sun, 12 Jun 2016 15:33:27 +0000 (11:33 -0400)
committerDavid Levine <levinedl@acm.org>
Sun, 12 Jun 2016 15:33:27 +0000 (11:33 -0400)
docs/contrib/sendfrom.c

index 3c20e51..2ae8bd5 100644 (file)
@@ -141,7 +141,7 @@ main(int argc, char **argv) {
 
             /* Extract address and host from From: header line in draft. */
             if (get_from_header_info(msg, &addr, &host, &message) != OK) {
 
             /* Extract address and host from From: header line in draft. */
             if (get_from_header_info(msg, &addr, &host, &message) != OK) {
-                adios(msg, (char *) message);
+                adios(msg, message);
             }
 
             /* Merge in any address or host specific switches to post(1) from profile. */
             }
 
             /* Merge in any address or host specific switches to post(1) from profile. */