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

Comparing ircd-hybrid/trunk/src/whowas.c (file contents):
Revision 1857 by michael, Wed Apr 24 20:47:21 2013 UTC vs.
Revision 1997 by michael, Sat May 11 17:35:07 2013 UTC

# Line 36 | Line 36 | dlink_list WHOWASHASH[HASHSIZE];
36  
37  
38   void
39 + whowas_init(void)
40 + {
41 +  unsigned int idx;
42 +
43 +  for (idx = 0; idx < NICKNAMEHISTORYLENGTH; ++idx)
44 +    WHOWAS[idx].hashv = -1;
45 + }
46 +
47 + void
48   add_history(struct Client *client_p, const int online)
49   {
50    static unsigned int whowas_next = 0;
# Line 131 | Line 140 | count_whowas_memory(unsigned int *wwu, u
140    *wwu = u;
141    *wwum = um;
142   }
134
135 void
136 whowas_init(void)
137 {
138  unsigned int idx;
139
140  for (idx = 0; idx < NICKNAMEHISTORYLENGTH; ++idx)
141    WHOWAS[idx].hashv = -1;
142 }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)