/*
* POP3 service for the Citadel system
*
- * Copyright (c) 1998-2017 by the citadel.org team
+ * Copyright (c) 1998-2019 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
+#include <time.h>
#include <sys/wait.h>
#include <string.h>
#include <limits.h>
#include "msgbase.h"
#include "internet_addressing.h"
#include "serv_pop3.h"
-#include "md5.h"
#include "ctdl_module.h"
strcpy(username, argbuf);
striplt(username);
- if (CtdlLoginExistingUser(NULL, username) == login_ok) {
+ if (CtdlLoginExistingUser(username) == login_ok) {
cprintf("+OK Password required for %s\r\n", username);
}
else {