}
strcpy(username, argbuf);
- striplt(username);
+ string_trim(username);
if (CtdlLoginExistingUser(username) == login_ok) {
cprintf("+OK Password required for %s\r\n", username);
char password[SIZ];
safestrncpy(password, argbuf, sizeof password);
- striplt(password);
+ string_trim(password);
if (CtdlTryPassword(password, strlen(password)) == pass_ok) {
pop3_login();
const char *CitadelServicePop3S="POP3S";
+// Initialization function, called from modules_init.c
char *ctdl_module_init_pop3(void) {
if (!threading) {
CtdlRegisterServiceHook(CtdlGetConfigInt("c_pop3_port"),