]> diplodocus.org Git - nmh/blobdiff - uip/mhl.c
Makefile.am: Alter long lists to be sorted, one entry per line.
[nmh] / uip / mhl.c
index d4c5308b39483f243adccefbf101d885a1e65776..59c233dd3c15e8fd679e574046769d0b4da1f492 100644 (file)
--- a/uip/mhl.c
+++ b/uip/mhl.c
@@ -1,6 +1,4 @@
-
-/*
- * mhl.c -- the nmh message listing program
+/* mhl.c -- the nmh message listing program
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -13,7 +11,8 @@
 int
 main (int argc, char **argv)
 {
-    setlocale(LC_ALL, "");
+    if (nmh_init(argv[0], 2)) { return 1; }
+
     done (mhl (argc, argv));
     return 1;
 }