X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/81a21a9a97d8633f6d6231e31fdb6e328d0d3ff2..035c5db34:/uip/vmhsbr.c?ds=sidebyside diff --git a/uip/vmhsbr.c b/uip/vmhsbr.c index a504220a..4c0c8c18 100644 --- a/uip/vmhsbr.c +++ b/uip/vmhsbr.c @@ -2,8 +2,6 @@ /* * vmhsbr.c -- routines to help vmh along * - * $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. @@ -17,7 +15,6 @@ #include #include #include -#include static char *types[] = { "OK", @@ -157,11 +154,13 @@ str2peer (char code, char *str) int fmt2peer (char code, char *fmt, ...) { + int return_value; va_list ap; va_start(ap, fmt); - return verr2peer (code, NULL, fmt, ap); + return_value = verr2peer (code, NULL, fmt, ap); va_end(ap); + return return_value; }