- logger(DEBUG_ERROR, LOG_NOTICE, _("Error message from %s (%s): %s: %s"),
- c->name, c->hostname, strerror(err), errorstring);
-
- terminate_connection(c, c->status.active);
+ ifdebug(ERROR) logger(LOG_NOTICE, _("Error message from %s (%s): %d: %s"),
+ c->name, c->hostname, err, errorstring);