mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
SVN revision: 1014
This commit is contained in:
parent
500b3d9ef0
commit
b0dc01ee30
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.430 2004/08/04 10:34:16 midas
|
||||||
|
Fixed compiler warning
|
||||||
|
|
||||||
Revision 1.429 2004/08/04 10:32:29 midas
|
Revision 1.429 2004/08/04 10:32:29 midas
|
||||||
Fixed compiler warning
|
Fixed compiler warning
|
||||||
|
|
||||||
@ -8633,7 +8636,7 @@ void adjust_crlf(char *buffer, int bufsize)
|
|||||||
#ifdef OS_UNIX
|
#ifdef OS_UNIX
|
||||||
|
|
||||||
/* convert \r\n -> \n */
|
/* convert \r\n -> \n */
|
||||||
if (bufsize);
|
bufsize = 0; // avoid compiler warning about unused 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