and a fix to that last fix.

This commit is contained in:
gardners 2012-04-30 07:08:17 +09:30
parent f20d136c9f
commit fcb329f828

View File

@ -125,7 +125,7 @@ int stowSid(unsigned char *packet, int ofs, const char *sid)
if (!validateSid(sid))
return WHY("Invalid SID passed in");
if (!strcasecmp(sid,"broadcast"))
for(i=0;i<i<32;i++) packet[ofs++]=0xff;
for(i=0;i<32;i++) packet[ofs++]=0xff;
else
for(i = 0; i != SID_SIZE; ++i) {
packet[ofs] = hexvalue(sid[i<<1]) << 4;