mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-29 04:04:29 +00:00
Fixed small bug in debugging code
SVN revision: 487
This commit is contained in:
parent
6e06545061
commit
17fb177476
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.76 2003/04/08 10:25:56 midas
|
||||||
|
Fixed small bug in debugging code
|
||||||
|
|
||||||
Revision 1.75 2003/04/08 08:31:00 midas
|
Revision 1.75 2003/04/08 08:31:00 midas
|
||||||
Made self_register=3 work with [global] password file
|
Made self_register=3 work with [global] password file
|
||||||
|
|
||||||
@ -12937,16 +12940,13 @@ struct stat cfg_stat;
|
|||||||
else if (strncmp(net_buffer, "POST", 4) == 0)
|
else if (strncmp(net_buffer, "POST", 4) == 0)
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf("%s\n", net_buffer+header_length);
|
puts(net_buffer+header_length);
|
||||||
|
|
||||||
/* get logbook from list (needed for attachment dir) */
|
/* get logbook from list (needed for attachment dir) */
|
||||||
for (i=0 ; lb_list[i].name[0] ; i++)
|
for (i=0 ; lb_list[i].name[0] ; i++)
|
||||||
if (equal_ustring(logbook, lb_list[i].name))
|
if (equal_ustring(logbook, lb_list[i].name))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (strstr(net_buffer+header_length, "line1"))
|
|
||||||
strcpy(str, strstr(net_buffer+header_length, "line1"));
|
|
||||||
|
|
||||||
decode_post(&lb_list[i], net_buffer+header_length, boundary, content_length);
|
decode_post(&lb_list[i], net_buffer+header_length, boundary, content_length);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user