mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-21 14:41:26 +00:00
More compact no-op of Windows syslog
This commit is contained in:
parent
cc51ee6f02
commit
6a7763c210
|
@ -182,22 +182,6 @@ sigint(int sig)
|
|||
running = 0;
|
||||
}
|
||||
|
||||
#ifdef WINDOWS32
|
||||
#define LOG_EMERG 0
|
||||
#define LOG_ALERT 1
|
||||
#define LOG_CRIT 2
|
||||
#define LOG_ERR 3
|
||||
#define LOG_WARNING 4
|
||||
#define LOG_NOTICE 5
|
||||
#define LOG_INFO 6
|
||||
#define LOG_DEBUG 7
|
||||
|
||||
static void syslog(int a, const char *str, ...)
|
||||
{
|
||||
/* TODO: implement (add to event log), move to common.c */
|
||||
}
|
||||
#endif
|
||||
|
||||
/* This will not check that user has passed login challenge */
|
||||
static int check_user_and_ip(int userid, struct query *q)
|
||||
{
|
||||
|
|
|
@ -98,4 +98,7 @@ struct tun_data {
|
|||
int addrlen;
|
||||
};
|
||||
|
||||
/* No-op for now. */
|
||||
#define syslog(...)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue