X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fradius%2Fradiusclient%2Flib%2Flog.c;h=917b90728299578ca1132110f2baeb5fe6501315;hp=9e922a39fc85893cf2774a9c4b2cc85757558697;hb=c062322f9e8757b85a3c2281a3190d8af14bcd9b;hpb=d95598c16f6a3feb4846db669601856bad15bb74 diff --git a/pppd/plugins/radius/radiusclient/lib/log.c b/pppd/plugins/radius/radiusclient/lib/log.c index 9e922a3..917b907 100644 --- a/pppd/plugins/radius/radiusclient/lib/log.c +++ b/pppd/plugins/radius/radiusclient/lib/log.c @@ -1,10 +1,10 @@ /* - * $Id: log.c,v 1.1 2002/01/22 16:03:02 dfs Exp $ + * $Id: log.c,v 1.2 2002/02/27 15:51:20 dfs Exp $ * * Copyright (C) 1995,1996,1997 Lars Fenneberg * - * See the file COPYRIGHT for the respective terms and conditions. - * If the file is missing contact me at lf@elemental.net + * See the file COPYRIGHT for the respective terms and conditions. + * If the file is missing contact me at lf@elemental.net * and I'll send you a copy. * */ @@ -44,10 +44,10 @@ void rc_log(int prio, const char *format, ...) { char buff[1024]; va_list ap; - + va_start(ap,format); vsnprintf(buff, sizeof(buff), format, ap); va_end(ap); - + syslog(prio, "%s", buff); }