[dovecot-cvs] dovecot/src/login-common client-common.c,NONE,1.1

cras at dovecot.org cras at dovecot.org
Wed Oct 13 20:20:45 EEST 2004


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv10214

Added Files:
	client-common.c 
Log Message:
forgot to add



--- NEW FILE: client-common.c ---
/* Copyright (C) 2002 Timo Sirainen */

#include "common.h"
#include "client-common.h"

void client_syslog(struct client *client, const char *format, ...)
{
	const char *addr;
	va_list args;

	addr = net_ip2addr(&client->ip);
	if (addr == NULL)
		addr = "??";

	t_push();
	va_start(args, format);
	i_info("%s [%s]", t_strdup_vprintf(format, args), addr);
	va_end(args);
	t_pop();
}



More information about the dovecot-cvs mailing list