/*
* Dolda Connect - Modular multiuser Direct Connect-style client
- * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com)
+ * Copyright (C) 2004 Fredrik Tolf <fredrik@dolda2000.com>
*
* 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
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <stdlib.h>
#include <syslog.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/uio.h>
#include <string.h>
-#include <malloc.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
writev(2, iov, 2);
}
if(logtosyslog)
- syslog(priority, "%s", b);
+ syslog(syslogfac | priority, "%s", b);
free(b);
}