ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_stats.c (file contents):
Revision 5347 by michael, Sun Jan 11 12:42:20 2015 UTC vs.
Revision 5531 by michael, Wed Feb 11 18:15:09 2015 UTC

# Line 1296 | Line 1296 | stats_servlinks(struct Client *source_p,
1296                 target_p->connection->send.bytes >> 10,
1297                 target_p->connection->recv.messages,
1298                 target_p->connection->recv.bytes >> 10,
1299 <               (unsigned)(CurrentTime - target_p->connection->firsttime),
1300 <               (CurrentTime > target_p->connection->since) ? (unsigned)(CurrentTime - target_p->connection->since) : 0,
1299 >               (unsigned int)(CurrentTime - target_p->connection->firsttime),
1300 >               (CurrentTime > target_p->connection->since) ? (unsigned int)(CurrentTime - target_p->connection->since) : 0,
1301                 HasUMode(source_p, UMODE_OPER) ? show_capabilities(target_p) : "TS");
1302    }
1303  
# Line 1403 | Line 1403 | stats_L_list(struct Client *source_p, co
1403                   target_p->connection->send.bytes>>10,
1404                   target_p->connection->recv.messages,
1405                   target_p->connection->recv.bytes>>10,
1406 <                 (unsigned)(CurrentTime - target_p->connection->firsttime),
1407 <                 (CurrentTime > target_p->connection->since) ? (unsigned)(CurrentTime - target_p->connection->since) : 0,
1406 >                 (unsigned int)(CurrentTime - target_p->connection->firsttime),
1407 >                 (CurrentTime > target_p->connection->since) ? (unsigned int)(CurrentTime - target_p->connection->since) : 0,
1408                   IsServer(target_p) ? show_capabilities(target_p) : "-");
1409      }
1410      else
# Line 1418 | Line 1418 | stats_L_list(struct Client *source_p, co
1418                     target_p->connection->send.bytes>>10,
1419                     target_p->connection->recv.messages,
1420                     target_p->connection->recv.bytes>>10,
1421 <                   (unsigned)(CurrentTime - target_p->connection->firsttime),
1422 <                   (CurrentTime > target_p->connection->since) ? (unsigned)(CurrentTime - target_p->connection->since):0,
1421 >                   (unsigned int)(CurrentTime - target_p->connection->firsttime),
1422 >                   (CurrentTime > target_p->connection->since) ? (unsigned int)(CurrentTime - target_p->connection->since):0,
1423                     IsServer(target_p) ? show_capabilities(target_p) : "-");
1424        else /* show the real IP */
1425          sendto_one_numeric(source_p, &me, RPL_STATSLINKINFO,
# Line 1431 | Line 1431 | stats_L_list(struct Client *source_p, co
1431                     target_p->connection->send.bytes>>10,
1432                     target_p->connection->recv.messages,
1433                     target_p->connection->recv.bytes>>10,
1434 <                   (unsigned)(CurrentTime - target_p->connection->firsttime),
1435 <                   (CurrentTime > target_p->connection->since) ? (unsigned)(CurrentTime - target_p->connection->since):0,
1434 >                   (unsigned int)(CurrentTime - target_p->connection->firsttime),
1435 >                   (CurrentTime > target_p->connection->since) ? (unsigned int)(CurrentTime - target_p->connection->since):0,
1436                     IsServer(target_p) ? show_capabilities(target_p) : "-");
1437      }
1438    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines