mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Changed wrong sizeof(), thanks to Emiliano
SVN revision: 1345
This commit is contained in:
parent
93385a0710
commit
f94b8e5085
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.646 2005/05/02 15:19:01 ritt
|
||||||
|
Changed wrong sizeof(), thanks to Emiliano
|
||||||
|
|
||||||
Revision 1.645 2005/05/02 15:06:55 ritt
|
Revision 1.645 2005/05/02 15:06:55 ritt
|
||||||
Removed superflous mailto:, thanks to Emiliano
|
Removed superflous mailto:, thanks to Emiliano
|
||||||
|
|
||||||
@ -8280,7 +8283,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
strlcpy(str, preset + 100, sizeof(str));
|
strlcpy(str, preset + 100, sizeof(str));
|
||||||
|
|
||||||
strcpy(preset, "...");
|
strcpy(preset, "...");
|
||||||
strlcat(preset, str, sizeof(str));
|
strlcat(preset, str, sizeof(preset));
|
||||||
}
|
}
|
||||||
if (strncmp(preset, "<br>", 4) == 0)
|
if (strncmp(preset, "<br>", 4) == 0)
|
||||||
strcpy(attrib[index], preset + 4);
|
strcpy(attrib[index], preset + 4);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user