Commit 788bf84c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix braino


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@758 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent bedb73ff
......@@ -96,11 +96,11 @@ crc32(const char *p1, const char *p2)
crc = ~0U;
for (p = (const unsigned char*)p1; *p != '\0'; p++)
crc = (crc >> 8) ^ crc32bits[(crc ^ *p++) & 0xff];
crc = (crc >> 8) ^ crc32bits[(crc ^ *p) & 0xff];
for (p = (const unsigned char*)p2; *p != '\0'; p++)
crc = (crc >> 8) ^ crc32bits[(crc ^ *p++) & 0xff];
crc = (crc >> 8) ^ crc32bits[(crc ^ *p) & 0xff];
return crc ^ ~0U;
return (crc ^ ~0U);
}
#endif /* HASH_CLASSIC_MD5 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment