diff options
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r-- | tcpsyslog.c | 6 |
1 files changed, 1 insertions, 5 deletions
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; } |