[Syslog-ng-commit] syslog-ng--mainline: fixed UDP destination driver initialization

Balazs Scheidler bazsi at balabit.hu
Tue Dec 20 21:34:52 CET 2005

Link: <http://intra.balabit/cgi-bin/viewarch.cgi/bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-80>
Revision: syslog-ng--mainline--2.0--patch-80
Archive: bazsi at balabit.hu--bazsi-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Tue Dec 20 21:34:51 CET 2005
Standard-date: 2005-12-20 20:34:51 GMT
Modified-files: ChangeLog src/afsocket.c
New-patches: bazsi at balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-80
Summary: fixed UDP destination driver initialization

2005-12-20  Balazs Scheidler <bazsi at balabit.hu>

	* src/afsocket.c (afsocket_dd_connected): only check socket error
	state for stream sockets as UDP connections succeed immediately,
	(afsocket_dd_reconnect): if g_connect returns immediate success (UDP
	connections) set self->fd to sock

Diff stats:
 ChangeLog      |   19 +++++++++++++++++++
 src/afsocket.c |   40 ++++++++++++++++++++++------------------
 2 files changed, 41 insertions(+), 18 deletions(-)

More information about the Syslog-ng-commit mailing list