- if(IsAnyDead(client_p))
- return;
-
- /* and finally, reset the flood check */
- comm_setflush(fd, 1000, flood_recalc, client_p);
-}
-
-/*
- * read_ctrl_packet - Read a 'packet' of data from a servlink control
- * link and process it.
- */
-void
-read_ctrl_packet(int fd, void *data)
-{
- struct Client *server = data;
- struct LocalUser *lserver = server->localClient;
- struct SlinkRpl *reply;
- int length = 0;
- unsigned char tmp[2];
- unsigned char *len = tmp;
- struct SlinkRplDef *replydef;
-#ifdef USE_IODEBUG_HOOKS
- hook_data_int hdata;
-#endif
-
- s_assert(lserver != NULL);
- if(IsAnyDead(server))
- return;
-
- reply = &lserver->slinkrpl;
-
-
- if(!reply->command)