vsyslog.c (555B)
1 /************************************************************************* 2 * This file is part of Crosroads 1.23, a load balancer and fail over 3 * utility for TCP. Copyright (c) Karel Kubat, distributed under GPL. 4 * Visit http://crossroads.e-tunity.com for information. 5 *************************************************************************/ 6 #include "crossroads.h" 7 8 #ifndef HAVE_VSYSLOG 9 void vsyslog (int pri, char const *fmt, va_list args) { 10 char *msg; 11 12 msg = str_vprintf (fmt, args); 13 syslog (pri, "%s", msg); 14 free (msg); 15 } 16 #endif