mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed crash on email notification for edits
SVN revision: 1697
This commit is contained in:
parent
ceb2389f87
commit
bac6f9af42
@ -10,7 +10,7 @@
|
|||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
/* Version of ELOG */
|
/* Version of ELOG */
|
||||||
#define VERSION "2.6.1"
|
#define VERSION "2.6.2"
|
||||||
char svn_revision[] = "$Id$";
|
char svn_revision[] = "$Id$";
|
||||||
|
|
||||||
/* ELOG identification */
|
/* ELOG identification */
|
||||||
@ -19441,12 +19441,6 @@ void submit_elog(LOGBOOK * lbs)
|
|||||||
eprintf("\n%s to %s\n\n", str, list);
|
eprintf("\n%s to %s\n\n", str, list);
|
||||||
|
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
j = build_subst_list(lbs, slist, svalue, attrib, TRUE);
|
|
||||||
sprintf(str, "%d", message_id);
|
|
||||||
add_subst_list(slist, svalue, "message id", str, &j);
|
|
||||||
add_subst_time(lbs, slist, svalue, "entry time", date, &j);
|
|
||||||
strsubst_list(mail_list[i], NAME_LENGTH, slist, svalue, j);
|
|
||||||
|
|
||||||
/* remove possible 'mailto:' */
|
/* remove possible 'mailto:' */
|
||||||
if ((p = strstr(mail_list[i], "mailto:")) != NULL)
|
if ((p = strstr(mail_list[i], "mailto:")) != NULL)
|
||||||
strcpy(p, p + 7);
|
strcpy(p, p + 7);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user