sp.is_sbs += target_p->localClient->sendB;
sp.is_sbr += target_p->localClient->receiveB;
- sp.is_sti += rb_current_time() - target_p->localClient->firsttime;
+ sp.is_sti += (unsigned long long)(rb_current_time() - target_p->localClient->firsttime);
sp.is_sv++;
}
sp.is_cbs += target_p->localClient->sendB;
sp.is_cbr += target_p->localClient->receiveB;
- sp.is_cti += rb_current_time() - target_p->localClient->firsttime;
+ sp.is_cti += (unsigned long long)(rb_current_time() - target_p->localClient->firsttime);
sp.is_cl++;
}
sendto_one_numeric(source_p, RPL_STATSDEBUG,
"T :rejected %u delaying %lu",
sp.is_rej, delay_exit_length());
+ sendto_one_numeric(source_p, RPL_STATSDEBUG,
+ "T :throttled refused %u throttle list size %lu", sp.is_thr, throttle_size());
sendto_one_numeric(source_p, RPL_STATSDEBUG,
"T :nicks being delayed %lu",
get_nd_count());
sp.is_cbr / 1024,
sp.is_sbr / 1024);
sendto_one_numeric(source_p, RPL_STATSDEBUG,
- "T :time connected %lu %lu",
- (long int)sp.is_cti, (long int)sp.is_sti);
+ "T :time connected %llu %llu",
+ sp.is_cti, sp.is_sti);
}
static void
{ SHARED_UNRESV, 'R' },
{ SHARED_LOCOPS, 'L' },
{ SHARED_REHASH, 'H' },
- { SHARED_TDLINE, 'd' },
- { SHARED_PDLINE, 'D' },
- { SHARED_UNDLINE, 'E' },
+ { SHARED_TDLINE, 'd' },
+ { SHARED_PDLINE, 'D' },
+ { SHARED_UNDLINE, 'E' },
{ 0, '\0'}
};
{
struct remote_conf *shared_p;
rb_dlink_node *ptr;
- char buf[15];
+ char buf[sizeof(shared_flagtable)/sizeof(shared_flagtable[0])];
char *p;
int i;