]> diplodocus.org Git - nmh/blob - uip/whatnow.c
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / uip / whatnow.c
1
2 /*
3 * whatnow.c -- the nmh `WhatNow' shell
4 *
5 * This code is Copyright (c) 2002, by the authors of nmh. See the
6 * COPYRIGHT file in the root directory of the nmh distribution for
7 * complete copyright information.
8 */
9
10 #include <h/mh.h>
11
12
13 int
14 main (int argc, char **argv)
15 {
16 if (nmh_init(argv[0], 2)) { return 1; }
17
18 return WhatNow (argc, argv);
19 }