mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed error that logbook URL was wrong if messages are submitted via elog
SVN revision: 453
This commit is contained in:
parent
4c7cbba155
commit
8fc97b986d
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.54 2003/03/26 10:38:49 midas
|
||||||
|
Fixed error that logbook URL was wrong if messages are submitted via elog
|
||||||
|
|
||||||
Revision 1.53 2003/03/26 10:15:21 midas
|
Revision 1.53 2003/03/26 10:15:21 midas
|
||||||
Only ownwer can delete entry if 'restrict edit = 1'
|
Only ownwer can delete entry if 'restrict edit = 1'
|
||||||
|
|
||||||
@ -8961,6 +8964,8 @@ char list[MAX_PARAM][NAME_LENGTH], url[256];
|
|||||||
sprintf(str, "http://%s/", host_name);
|
sprintf(str, "http://%s/", host_name);
|
||||||
else
|
else
|
||||||
sprintf(str, "http://%s:%d/", host_name, tcp_port);
|
sprintf(str, "http://%s:%d/", host_name, tcp_port);
|
||||||
|
strcat(str, lbs->name);
|
||||||
|
strcat(str, "/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user