X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=35f6948c94971edf02a71a1a7be72fb4df7f7fc1;hp=cead11a345362178b99b36a159a6bea4f496df7b;hb=b9f9601828dd1a103ec9315bd430d39b458d2b80;hpb=8794e31a8b492fa1cb41d5173e79c80ebbe5e01b diff --git a/recv.c b/recv.c index cead11a3..35f6948c 100644 --- a/recv.c +++ b/recv.c @@ -15,6 +15,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ + +/** \file recv.c the stand-alone receiver */ + #include "para.h" #include "list.h" @@ -29,18 +32,8 @@ struct recv_args_info conf; INIT_RECV_ERRLISTS; -__printf_2_3 void para_log(int ll, const char* fmt,...) -{ - va_list argp; - - /* ignore log message if loglevel is not high enough */ - if (ll < conf.loglevel_arg) - return; - va_start(argp, fmt); - vfprintf(stderr, fmt, argp); - va_end(argp); -} +INIT_STDERR_LOGGING(conf.loglevel_arg); static void *parse_config(int argc, char *argv[], int *receiver_num) { int i;