mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed bug with 'hosts allow'
SVN revision: 290
This commit is contained in:
parent
3159635a90
commit
1ed4b05620
7
elogd.c
7
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.102 2002/11/21 09:25:05 midas
|
||||||
|
Fixed bug with 'hosts allow'
|
||||||
|
|
||||||
Revision 2.101 2002/11/21 09:13:33 midas
|
Revision 2.101 2002/11/21 09:13:33 midas
|
||||||
Added 'menu text' and 'find menu text'
|
Added 'menu text' and 'find menu text'
|
||||||
|
|
||||||
@ -407,7 +410,7 @@
|
|||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
/* Version of ELOG */
|
/* Version of ELOG */
|
||||||
#define VERSION "2.2.3"
|
#define VERSION "2.2.4"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -10728,6 +10731,8 @@ struct timeval timeout;
|
|||||||
else
|
else
|
||||||
strcpy(remote_host[i_conn], (char *)inet_ntoa(rem_addr));
|
strcpy(remote_host[i_conn], (char *)inet_ntoa(rem_addr));
|
||||||
|
|
||||||
|
strcpy(rem_host, remote_host[i_conn]);
|
||||||
|
|
||||||
#ifdef DEBUG_CONN
|
#ifdef DEBUG_CONN
|
||||||
printf("## open new connection %d\n", i_conn);
|
printf("## open new connection %d\n", i_conn);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user