X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audioc.c;h=1679335d7cf737d37413a158d347d16cb2054357;hp=0f4c5c5084d8dbf31c726ae6d3e5ccf67bcb7d29;hb=b9f9601828dd1a103ec9315bd430d39b458d2b80;hpb=8794e31a8b492fa1cb41d5173e79c80ebbe5e01b diff --git a/audioc.c b/audioc.c index 0f4c5c50..1679335d 100644 --- a/audioc.c +++ b/audioc.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2006 Andre Noll + * Copyright (C) 2005-2007 Andre Noll * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,21 +30,7 @@ INIT_AUDIOC_ERRLISTS; struct audioc_args_info conf; char *tmpfifo; - -/* - * client log function - */ -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 char *concat_args(const int argc, char * const *argv) {