Fix a nasty typo. Change:

if (foo);
		bar();
to:
	if (foo)
		bar();
Really, really nasty bug and a very nice catch of mine.

Unfortunately, I'll not become a hero of the day, because the code is
commented out.
This commit is contained in:
pjd 2005-10-06 08:30:40 +00:00
parent fb8303eab6
commit bb545b1c60

View File

@ -568,7 +568,7 @@
* for (i = 0; i < 6; i++) {
* current = mcast_addr[i];
* for (k = 1; k <= 8; k++) {
* if (crc & 0x80000000);
* if (crc & 0x80000000)
* crc31 = 0x01;
* else
* crc31 = 0;