logopenfile: remove duplicate ifdefs

pull/3777/head
Victor Julien 7 years ago
parent 56e4c348e1
commit c72dd84ade

@ -133,11 +133,9 @@ static int SCLogFileWriteSocket(const char *buffer, int buffer_len,
int tries = 0; int tries = 0;
int ret = 0; int ret = 0;
bool reopen = false; bool reopen = false;
#ifdef BUILD_WITH_UNIXSOCKET
if (ctx->fp == NULL && ctx->is_sock) { if (ctx->fp == NULL && ctx->is_sock) {
SCLogUnixSocketReconnect(ctx); SCLogUnixSocketReconnect(ctx);
} }
#endif
tryagain: tryagain:
ret = -1; ret = -1;
reopen = 0; reopen = 0;

Loading…
Cancel
Save