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

Comparing ircd-hybrid-7.2/contrib/ip_cloaking.c (file contents):
Revision 889 by michael, Wed Oct 31 18:09:24 2007 UTC vs.
Revision 890 by michael, Thu Nov 1 13:01:59 2007 UTC

# Line 242 | Line 242 | static unsigned long crc32_tab[] = {
242   };
243  
244   static unsigned long
245 < crc32 (const unsigned char *s, unsigned int len)
245 > crc32(const char *s, unsigned int len)
246   {
247    unsigned int i;
248    unsigned long crc32val = 0;
# Line 286 | Line 286 | str2arr (char **pparv, char *string, cha
286   * new = encrypted hostname/ip
287   */
288   static void
289 < make_virthost (char *curr, char *host, char *new)
289 > make_virthost(char *curr, char *host, char *new)
290   {
291 <  static char mask[HOSTLEN + 1];
291 >  char mask[HOSTLEN + 1];
292    char *parv[HOSTLEN + 1], *parv2[HOSTLEN + 1], s[HOSTLEN + 1], s2[HOSTLEN + 1];
293    int parc = 0, parc2 = 0, len = 0;
294    unsigned long hash[8];

Diff Legend

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