mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-27 02:57:22 +00:00
Fixed compiler warning
SVN revision: 1576
This commit is contained in:
parent
be4ed109f9
commit
55821f099b
@ -1926,7 +1926,7 @@ INT sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
|
|||||||
strlcat(str, ".\r\n", strsize);
|
strlcat(str, ".\r\n", strsize);
|
||||||
|
|
||||||
/* check if buffer exceeded */
|
/* check if buffer exceeded */
|
||||||
if (strlen(str) == strsize-1) {
|
if ((int)strlen(str) == strsize-1) {
|
||||||
strlcpy(error, loc("Entry size too large for email notification"), error_size);
|
strlcpy(error, loc("Entry size too large for email notification"), error_size);
|
||||||
goto smtp_error;
|
goto smtp_error;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user