# HG changeset patch # User Merten Sach # Date 1317139125 -7200 # Node ID a82c0a48cdba7d6cff9833b863b5ce3a81d99474 # Parent 34d29cd6703d3fd02b175c4f56641de1b03f207b# Parent dd8f979453553791304b675418b4046a2af1268e merged .hgignore diff -r 34d29cd6703d -r a82c0a48cdba SSR_Request_Handlers.c --- a/SSR_Request_Handlers.c Tue Sep 27 16:25:20 2011 +0200 +++ b/SSR_Request_Handlers.c Tue Sep 27 17:58:45 2011 +0200 @@ -99,7 +99,7 @@ // list when multiple have the same key. //TODO: use a faster hash function -- see notes in intelligence gather - key[0] = (int)receivePr; + key[0] = (int)receivePr->procrID; key[1] = (int)(semReq->msgType); //key[2] acts as the 0 that terminates the string @@ -161,8 +161,8 @@ receivePr = semReq->receivePr; //For "send", know both send & recv procrs sendPr = semReq->sendPr; - key[0] = (int)receivePr; - key[1] = (int)sendPr; + key[0] = (int)receivePr->procrID; + key[1] = (int)sendPr->procrID; //key[2] acts at the 0 that terminates the string entry = giveEntryElseInsertReqst( (char *)key, semReq, commHashTbl); @@ -246,7 +246,7 @@ receivePr = semReq->receivePr; - key[0] = (int)receivePr; + key[0] = (int)receivePr->procrID; key[1] = (int)(semReq->msgType); //key[2] acts as the 0 that terminates the string @@ -295,8 +295,8 @@ receivePr = semReq->receivePr; sendPr = semReq->sendPr; //for receive from-to, know send procr - key[0] = (int)receivePr; - key[1] = (int)sendPr; + key[0] = (int)receivePr->procrID; + key[1] = (int)sendPr->procrID; //key[2] acts at the 0 that terminates the string entry = giveEntryElseInsertReqst( (char *)key, semReq, commHashTbl);