From 6d231d5f159703bb13a2505e6de6c820a3ca05bc Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 24 Jul 2007 14:53:23 +0000 Subject: removed F_UNUSED and cleaned up action-disabling handling --- tcpsyslog.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tcpsyslog.c') diff --git a/tcpsyslog.c b/tcpsyslog.c index 83204519..e8a52c97 100644 --- a/tcpsyslog.c +++ b/tcpsyslog.c @@ -826,7 +826,6 @@ int TCPSend(selector_t *f, char *msg, size_t len) int done = 0; int bIsCompressed; int lenSend; - short f_type; char *buf = NULL; /* if this is non-NULL, it MUST be freed before return! */ enum TCPSendStatus eState; TCPFRAMINGMODE framingToUse; @@ -1025,10 +1024,7 @@ int TCPSend(selector_t *f, char *msg, size_t len) return 0; break; default: - f_type = f->f_type; - f->f_type = F_UNUSED; - logerror("message not (tcp)send"); - f->f_type = f_type; + dprintf("message not (tcp)send"); break; } -- cgit