Changeset 4477

Show
Ignore:
Timestamp:
07/04/06 21:58:46 (2 years ago)
Author:
emostar
Message:

An attempt to help debug bug #778
This will pop up an error dialog (actually multiple ones at once) when a user goes offline that seems to be a fake offline notice. Maybe an idle notice? Regardless, to debug, copy the UINS from the network log, then log off and log on and see if all the users are still online. I had a patch similar to this, but it would have valid offline notices be ignored, but this is working for me so far...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/icqd-srv.cpp

    r4447 r4477  
    28632863    if (packet.readTLV()) 
    28642864    { 
    2865       //if (packet.hasTLV(0x0000) && packet.getTLVLen(0x0000) == 2) 
    2866       //  bFake = true; 
     2865      if (packet.hasTLV(0x0003) && packet.getTLVLen(0x0003) == 4) 
     2866        bFake = true; 
    28672867    } 
    28682868 
     
    28712871    if (bFake && isdigit(szId[0])) 
    28722872    { 
    2873       gLog.Info("%sIgnoring fake offline:%s\n", L_SRVxSTR, szId); 
     2873      gLog.Error("%sIgnoring fake offline:%s\n", L_SRVxSTR, szId); 
    28742874      delete [] szId; 
    28752875      break;