mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed parameter error, thanks to John O'Donnell
SVN revision: 2068
This commit is contained in:
parent
8ffec94905
commit
c16a9362a6
@ -2312,7 +2312,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
|
||||
goto smtp_error;
|
||||
|
||||
getcfg(lbs->name, "SMTP username", decoded, sizeof(decoded));
|
||||
base64_encode((unsigned char *) decoded, (unsigned char *) str, sizeof(str));
|
||||
base64_encode((unsigned char *) decoded, (unsigned char *) str, strsize);
|
||||
strcat(str, "\r\n");
|
||||
send(s, str, strlen(str), 0);
|
||||
if (verbose)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user