add more changes for server side changes..needs some more testing
[IRC.git] / Robust / src / Runtime / DSTM / interface / dstmserver.c
index 578886e1ca6777970a9b114c3ee77853bc234a7e..79351126fac1d48a0a1fc556d223a69ced07e067 100644 (file)
@@ -825,10 +825,10 @@ int prefetchReq(int acceptfd) {
          control = TRANS_PREFETCH_RESPONSE;
          sendPrefetchResponse(sd, &control, sendbuffer, &size);
        }
-      }
+      } //end of for
     }
-  }
-  //Release socket
+  } //end of while
+   //Release socket
   if (mid!=-1)
     freeSockWithLock(transPResponseSocketPool, mid, sd);