#ifndef lint
static char copyright[] =
-"$Id: hash.c,v 1.19 2000/03/18 02:15:36 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: hash.c,v 1.20 2000/03/18 03:31:39 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
c = tolower (c);
/* Add the character in... */
- accum += *s++;
+ accum += c;
/* Add carry back in... */
while (accum > 255) {
accum = (accum & 255) + (accum >> 8);