Remove
Showing
1 changed file
with
0 additions
and
36 deletions
mh/mh_error.c
deleted
100644 → 0
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | Copyright (C) 1999, 2000, 2001, 2005 Free Software Foundation, Inc. | ||
3 | |||
4 | GNU Mailutils is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2, or (at your option) | ||
7 | any later version. | ||
8 | |||
9 | GNU Mailutils is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with GNU Mailutils; if not, write to the Free Software | ||
16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
17 | MA 02110-1301 USA */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include <config.h> | ||
21 | #endif | ||
22 | |||
23 | #include <stdio.h> | ||
24 | #include <stdarg.h> | ||
25 | #include <mailutils/argp.h> | ||
26 | |||
27 | void | ||
28 | mh_error(const char *fmt, ...) | ||
29 | { | ||
30 | va_list ap; | ||
31 | va_start (ap, fmt); | ||
32 | fprintf (stderr, "%s: ", program_invocation_short_name); | ||
33 | vfprintf (stderr, fmt, ap); | ||
34 | fprintf (stderr, "\n"); | ||
35 | va_end (ap); | ||
36 | } |
-
Please register or sign in to post a comment