mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed compiler warnings
SVN revision: 930
This commit is contained in:
parent
42ff4ea3a3
commit
632d01e132
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.363 2004/07/05 08:49:18 midas
|
||||||
|
Fixed compiler warnings
|
||||||
|
|
||||||
Revision 1.362 2004/06/29 18:57:23 midas
|
Revision 1.362 2004/06/29 18:57:23 midas
|
||||||
Made rename/create logbook work with groups
|
Made rename/create logbook work with groups
|
||||||
|
|
||||||
@ -8363,6 +8366,8 @@ int create_logbook(LOGBOOK *oldlbs, char *logbook, char *templ)
|
|||||||
assert(buf);
|
assert(buf);
|
||||||
read(fh, buf, length);
|
read(fh, buf, length);
|
||||||
buf[length] = 0;
|
buf[length] = 0;
|
||||||
|
templ_length = 0;
|
||||||
|
p2 = NULL;
|
||||||
|
|
||||||
/* find template logbook */
|
/* find template logbook */
|
||||||
if (templ[0]) {
|
if (templ[0]) {
|
||||||
@ -8405,7 +8410,7 @@ int create_logbook(LOGBOOK *oldlbs, char *logbook, char *templ)
|
|||||||
#ifdef OS_UNIX
|
#ifdef OS_UNIX
|
||||||
|
|
||||||
/* under unix, convert CRLF to CR */
|
/* under unix, convert CRLF to CR */
|
||||||
remove_crlf(buffer);
|
remove_crlf(buf);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user