remove entry from linetable for linkinfo lookup

This commit is contained in:
Matt Wells 2014-02-26 00:27:29 -08:00
parent 8bb5d106db
commit 6716d8f21b

View File

@ -617,6 +617,8 @@ bool getLinkInfo ( SafeBuf *reqBuf ,
return false;
}
HashTableX g_lineTable;
static void sendReplyWrapper ( void *state ) {
long saved = g_errno;
@ -637,6 +639,8 @@ static void sendReplyWrapper ( void *state ) {
Msg25Request *req = (Msg25Request *)slot2->m_readBuf;
// sanity
if ( req->m_udpSlot != slot2 ) { char *xx=NULL;*xx=0;}
// if in table, nuke it
g_lineTable.removeKey ( &req->m_siteHash64 );
nextLink:
@ -671,8 +675,6 @@ static void sendReplyWrapper ( void *state ) {
}
HashTableX g_lineTable;
void handleRequest25 ( UdpSlot *slot , long netnice ) {
Msg25Request *req = (Msg25Request *)slot->m_readBuf;