mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added directory separator to resource and logbook dir
SVN revision: 315
This commit is contained in:
parent
57feb6cfd2
commit
af037c593a
9
elogd.c
9
elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 2.121 2003/01/07 16:21:19 midas
|
||||||
|
Added directory separator to resource and logbook dir
|
||||||
|
|
||||||
Revision 2.120 2003/01/07 15:54:12 midas
|
Revision 2.120 2003/01/07 15:54:12 midas
|
||||||
Change 'User' and 'Group' to 'Usr' and 'Grp' not to conflict with groups
|
Change 'User' and 'Group' to 'Usr' and 'Grp' not to conflict with groups
|
||||||
|
|
||||||
@ -12396,6 +12399,12 @@ usage:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (resource_dir[0] && resource_dir[strlen(resource_dir)-1] != DIR_SEPARATOR)
|
||||||
|
strlcat(resource_dir, DIR_SEPARATOR_STR, sizeof(resource_dir));
|
||||||
|
|
||||||
|
if (logbook_dir[0] && logbook_dir[strlen(logbook_dir)-1] != DIR_SEPARATOR)
|
||||||
|
strlcat(logbook_dir, DIR_SEPARATOR_STR, sizeof(logbook_dir));
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
printf("Config file : %s\n", config_file);
|
printf("Config file : %s\n", config_file);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user