projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the 'master user' feature ... if we still need this we'll find another way
[citadel.git]
/
citadel
/
modules
/
smtp
/
serv_smtp.c
diff --git
a/citadel/modules/smtp/serv_smtp.c
b/citadel/modules/smtp/serv_smtp.c
index c8cd7017328d3eb017cd52111f8b70441c8d1233..b7ee16a693da15c0fa14789e12ba67b041226b0f 100644
(file)
--- a/
citadel/modules/smtp/serv_smtp.c
+++ b/
citadel/modules/smtp/serv_smtp.c
@@
-407,7
+407,7
@@
void smtp_get_user(long offset)
StrBufDecodeBase64(sSMTP->Cmd);
StrBufDecodeBase64(sSMTP->Cmd);
- if (CtdlLoginExistingUser(
NULL,
ChrPtr(sSMTP->Cmd)) == login_ok) {
+ if (CtdlLoginExistingUser(ChrPtr(sSMTP->Cmd)) == login_ok) {
size_t len = CtdlEncodeBase64(buf, "Password:", 9, 0);
if (buf[len - 1] == '\n') {
size_t len = CtdlEncodeBase64(buf, "Password:", 9, 0);
if (buf[len - 1] == '\n') {
@@
-492,10
+492,10
@@
void smtp_try_plain(long offset, long Flags)
sSMTP->command_state = smtp_command;
if (!IsEmptyStr(ident)) {
sSMTP->command_state = smtp_command;
if (!IsEmptyStr(ident)) {
- result = CtdlLoginExistingUser(
user,
ident);
+ result = CtdlLoginExistingUser(ident);
}
else {
}
else {
- result = CtdlLoginExistingUser(
NULL,
user);
+ result = CtdlLoginExistingUser(user);
}
if (result == login_ok) {
}
if (result == login_ok) {