SCCS-vsn: usr.sbin/sendmail/src/domain.c 8.12
#ifndef lint
#ifdef NAMED_BIND
#ifndef lint
#ifdef NAMED_BIND
-static char sccsid[] = "@(#)domain.c 8.11 (Berkeley) %G% (with name server)";
+static char sccsid[] = "@(#)domain.c 8.12 (Berkeley) %G% (with name server)";
-static char sccsid[] = "@(#)domain.c 8.11 (Berkeley) %G% (without name server)";
+static char sccsid[] = "@(#)domain.c 8.12 (Berkeley) %G% (without name server)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
if (isascii(c) && isupper(c))
c = tolower(c);
if (isascii(c) && isupper(c))
c = tolower(c);
- hfunc = ((hfunc << 1) + c) % 2003;
+ hfunc = ((hfunc << 1) ^ c) % 2003;