mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added 'X-Mailer: Elog'
SVN revision: 431
This commit is contained in:
parent
d233e9e053
commit
26a7b2b411
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.41 2003/03/06 10:51:51 midas
|
||||||
|
Added 'X-Mailer: Elog'
|
||||||
|
|
||||||
Revision 1.40 2003/03/06 08:33:50 midas
|
Revision 1.40 2003/03/06 08:33:50 midas
|
||||||
Added 'X-Elog-URL' in mail header
|
Added 'X-Elog-URL' in mail header
|
||||||
|
|
||||||
@ -1316,6 +1319,10 @@ char list[1024][NAME_LENGTH];
|
|||||||
send(s, str, strlen(str), 0);
|
send(s, str, strlen(str), 0);
|
||||||
if (verbose) puts(str);
|
if (verbose) puts(str);
|
||||||
|
|
||||||
|
snprintf(str, strsize - 1, "X-Mailer: Elog, Version %s\r\n", VERSION);
|
||||||
|
send(s, str, strlen(str), 0);
|
||||||
|
if (verbose) puts(str);
|
||||||
|
|
||||||
snprintf(str, strsize - 1, "X-Elog-URL: %s\r\n", url);
|
snprintf(str, strsize - 1, "X-Elog-URL: %s\r\n", url);
|
||||||
send(s, str, strlen(str), 0);
|
send(s, str, strlen(str), 0);
|
||||||
if (verbose) puts(str);
|
if (verbose) puts(str);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user