Craig A. Berry [Sat, 14 Jun 2008 00:02:05 +0000 (00:02 +0000)]
p4raw-id: //depot/perl@34053
unsigned int fd = fileno(fp);
unsigned int fdoff = fd / sizeof(unsigned int);
- if (sockflagsize && fdoff <= sockflagsize)
+ if (sockflagsize && fdoff < sockflagsize)
sockflags[fdoff] &= ~(1 << fd % sizeof(unsigned int));
}
return fclose(fp);