-const char jcc_rcs[] = "$Id: jcc.c,v 1.358 2011/07/17 13:34:36 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.359 2011/07/17 13:35:32 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
{
int i;
- config->need_bind = 1;
-
for (i = 0; i < MAX_LISTENING_SOCKETS; i++)
{
- sockets[i] = JB_INVALID_SOCKET;
-
if (config->hport[i])
{
sockets[i] = bind_port_helper(config->haddr[i], config->hport[i]);
- if (JB_INVALID_SOCKET != sockets[i])
- {
- config->need_bind = 0;
- }
+ }
+ else
+ {
+ sockets[i] = JB_INVALID_SOCKET;
}
}
+ config->need_bind = 0;
}