[srvx-commits] CVS: services/src proto-common.c,1.18,1.19
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-10-23 12:39:16
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv25493/src
Modified Files:
proto-common.c
Log Message:
restore comment when we detect loss of server connection
Index: proto-common.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-common.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** proto-common.c 21 Oct 2002 02:34:30 -0000 1.18
--- proto-common.c 23 Oct 2002 12:39:12 -0000 1.19
***************
*** 84,94 ****
socket_destroyed(struct io_fd *fd)
{
! (void)fd;
socket_io_fd = NULL;
cManager.uplink->state = DISCONNECTED;
! if (self->uplink)
! {
! DelServer(self->uplink, 0, NULL);
! }
}
--- 84,91 ----
socket_destroyed(struct io_fd *fd)
{
! if (fd && fd->eof) log(MAIN_LOG, LOG_ERROR, "Connection to server list.\n");
socket_io_fd = NULL;
cManager.uplink->state = DISCONNECTED;
! if (self->uplink) DelServer(self->uplink, 0, NULL);
}
|