Make m_trace.c compile here (with gcc 4.2.1).
This commit is contained in:
parent
a4da8e48cd
commit
a672fbb78c
1 changed files with 11 additions and 11 deletions
|
@ -380,18 +380,18 @@ report_this_status(struct Client *source_p, struct Client *target_p)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STAT_CLIENT:
|
case STAT_CLIENT:
|
||||||
int tnumeric = RPL_TRACEUSER;
|
{
|
||||||
|
int tnumeric;
|
||||||
if(IsOper(target_p))
|
|
||||||
tnumeric = RPL_TRACEOPERATOR;
|
|
||||||
|
|
||||||
sendto_one_numeric(source_p, tnumeric, form_str(tnumeric),
|
|
||||||
class_name, name,
|
|
||||||
show_ip(source_p, target_p) ? ip : empty_sockhost,
|
|
||||||
rb_current_time() - target_p->localClient->lasttime,
|
|
||||||
rb_current_time() - target_p->localClient->last);
|
|
||||||
|
|
||||||
cnt++;
|
tnumeric = IsOper(target_p) ? RPL_TRACEOPERATOR : RPL_TRACEUSER;
|
||||||
|
sendto_one_numeric(source_p, tnumeric, form_str(tnumeric),
|
||||||
|
class_name, name,
|
||||||
|
show_ip(source_p, target_p) ? ip : empty_sockhost,
|
||||||
|
rb_current_time() - target_p->localClient->lasttime,
|
||||||
|
rb_current_time() - target_p->localClient->last);
|
||||||
|
|
||||||
|
cnt++;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STAT_SERVER:
|
case STAT_SERVER:
|
||||||
|
|
Loading…
Reference in a new issue