ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/src/s_user.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/s_user.c (file contents):
Revision 982 by michael, Thu Aug 13 22:15:08 2009 UTC vs.
Revision 983 by michael, Thu Aug 13 22:32:54 2009 UTC

# Line 301 | Line 301 | register_local_user(struct Client *clien
301      if (!IsPingSent(source_p) &&
302         source_p->localClient->random_ping == 0)
303      {
304 <      source_p->localClient->random_ping = genrand_int32();
304 >      do
305 >        source_p->localClient->random_ping = genrand_int32();
306 >      while (!source_p->localClient->random_ping);
307 >
308        sendto_one(source_p, "PING :%u",
309                   source_p->localClient->random_ping);
310        SetPingSent(source_p);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines