* syslog.cc (try_connect_guard): Remove useless conditionalized code.

This commit is contained in:
Corinna Vinschen 2005-04-07 20:42:20 +00:00
parent 9d61c9a250
commit 2ecb1a58cf
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2005-04-07 Corinna Vinschen <corinna@vinschen.de>
* syslog.cc (try_connect_guard): Remove useless conditionalized code.
2005-04-07 Corinna Vinschen <corinna@vinschen.de>
* syslog.cc: Include sys/socket.h.

View File

@ -234,11 +234,7 @@ out:
if (ret >= 0 || !(_my_tls.locals.process_logopt & LOG_CONS))
ret = syslogd_sock;
}
#ifdef EXC_GUARD
InterlockedExchange (&try_connect_guard, 2);
#else
try_connect_guard.release ();
#endif
return ret;
}