From: Victor Julien Date: Fri, 5 Apr 2019 09:33:52 +0000 (+0200) Subject: logopenfile: remove duplicate ifdefs X-Git-Tag: suricata-5.0.0-beta1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72dd84ade4264b2070ae0c114f40f49a8c9352b;p=thirdparty%2Fsuricata.git logopenfile: remove duplicate ifdefs --- diff --git a/src/util-logopenfile.c b/src/util-logopenfile.c index f188bb908e..bef3a11dbd 100644 --- a/src/util-logopenfile.c +++ b/src/util-logopenfile.c @@ -133,11 +133,9 @@ static int SCLogFileWriteSocket(const char *buffer, int buffer_len, int tries = 0; int ret = 0; bool reopen = false; -#ifdef BUILD_WITH_UNIXSOCKET if (ctx->fp == NULL && ctx->is_sock) { SCLogUnixSocketReconnect(ctx); } -#endif tryagain: ret = -1; reopen = 0;