mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed compiler warning
SVN revision: 1013
This commit is contained in:
parent
9579009f98
commit
500b3d9ef0
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.429 2004/08/04 10:32:29 midas
|
||||||
|
Fixed compiler warning
|
||||||
|
|
||||||
Revision 1.428 2004/08/04 10:30:36 midas
|
Revision 1.428 2004/08/04 10:30:36 midas
|
||||||
Fixed password file mirror problems
|
Fixed password file mirror problems
|
||||||
|
|
||||||
@ -8630,6 +8633,7 @@ void adjust_crlf(char *buffer, int bufsize)
|
|||||||
#ifdef OS_UNIX
|
#ifdef OS_UNIX
|
||||||
|
|
||||||
/* convert \r\n -> \n */
|
/* convert \r\n -> \n */
|
||||||
|
if (bufsize);
|
||||||
p = buffer;
|
p = buffer;
|
||||||
while ((p = strstr(p, "\r\n")) != NULL) {
|
while ((p = strstr(p, "\r\n")) != NULL) {
|
||||||
strcpy(p, p + 1);
|
strcpy(p, p + 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user