More compact no-op of Windows syslog

This commit is contained in:
Erik Ekman 2021-01-31 14:01:13 +01:00
parent cc51ee6f02
commit 6a7763c210
2 changed files with 3 additions and 16 deletions

View file

@ -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)
{

View file

@ -98,4 +98,7 @@ struct tun_data {
int addrlen;
};
/* No-op for now. */
#define syslog(...)
#endif