creds->host = host;
if (cred_style == NULL || ! strcmp (cred_style, "legacy")) {
+ creds->user = user == NULL ? getusername () : user;
if (sasl) {
+
/* This is what inc.c and msgchk.c used to contain. */
/* Only inc.c and msgchk.c do this. smtp.c doesn't. */
- creds->user = user == NULL ? getusername () : user;
creds->password = getusername ();
}
} else if (! strncasecmp (cred_style, "file:", 5)) {