/*
- * $Id: helper.cc,v 1.64 2004/12/22 15:10:37 serassio Exp $
+ * $Id: helper.cc,v 1.65 2005/01/27 19:57:09 serassio Exp $
*
* DEBUG: section 84 Helper process maintenance
* AUTHOR: Harvest Derived?
srv = (helper_server *)link->data;
link = link->next;
- if (!srv->flags.shutdown) {
+ if (srv->flags.shutdown) {
debug(84, 3) ("helperShutdown: %s #%d has already SHUT DOWN.\n",
hlp->id_name, srv->index + 1);
continue;
}
srv->flags.closing = 1;
+ debug(84, 3) ("helperShutdown: %s #%d shutting down.\n",
+ hlp->id_name, srv->index + 1);
/* the rest of the details is dealt with in the helperServerFree
* close handler
*/
srv = (helper_stateful_server *)link->data;
link = link->next;
- if (!srv->flags.shutdown) {
+ if (srv->flags.shutdown) {
debug(84, 3) ("helperStatefulShutdown: %s #%d has already SHUT DOWN.\n",
hlp->id_name, srv->index + 1);
continue;
}
srv->flags.closing = 1;
+ debug(84, 3) ("helperStatefulShutdown: %s #%d shutting down.\n",
+ hlp->id_name, srv->index + 1);
/* the rest of the details is dealt with in the helperStatefulServerFree
* close handler
*/