case 3 : { //connection terminated
static const char *cmt;
SRVTYP *srv;
- int total;
cmt="(Contact terminated, condition=<%s>)";
- total=0;
if (sql_mngremote(contact->sqlptr,sql_select,contact->peerip,&srv)==true) {
- total=srv->credit;
srv=sql_freesrv(srv);
}
- (void) log_fprintlog(contact->logptr,true,cmt,contact->credit,total,
- contact->termend);
+ (void) log_fprintlog(contact->logptr,true,cmt,contact->termend);
(void) sql_newconnect(contact->sqlptr,contact->peerip,-1);
- cmt="(Contact terminated, credit='%3d/%3d' condition=<%s>)";
contact=eml_dropcontact(contact);
}
break;