summaryrefslogtreecommitdiffstats
path: root/tcpsyslog.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-24 14:53:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-24 14:53:23 +0000
commit6d231d5f159703bb13a2505e6de6c820a3ca05bc (patch)
treef3f1782ea0e1c85d7209b81234c40211b0053fc6 /tcpsyslog.c
parent5cbb54ed6ad1934875b080286b9933400c817e85 (diff)
downloadrsyslog-6d231d5f159703bb13a2505e6de6c820a3ca05bc.zip
rsyslog-6d231d5f159703bb13a2505e6de6c820a3ca05bc.tar.gz
rsyslog-6d231d5f159703bb13a2505e6de6c820a3ca05bc.tar.xz
removed F_UNUSED and cleaned up action-disabling handling
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r--tcpsyslog.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tcpsyslog.c b/tcpsyslog.c
index 8320451..e8a52c9 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;
}