fix a bug in compress
authorYanhua Sun <sun51@illinois.edu>
Sat, 22 Dec 2012 20:11:16 +0000 (14:11 -0600)
committerYanhua Sun <sun51@illinois.edu>
Sat, 22 Dec 2012 20:11:16 +0000 (14:11 -0600)
src/arch/util/persist-comm.c

index b8d90fcc61478a9de9e6e4d2d0f79a65fb35d1b1..08fe0933c7e678a7ad12f24e15f618224a863e45 100644 (file)
@@ -178,6 +178,7 @@ PersistentHandle CmiCreateCompressPersistent(int destPE, int maxBytes, int compr
   slot->previousMsg  = NULL; 
   slot->compressStart =  msg->compressStart = compressStart;
   slot->dataType = msg->dataType = type;
+  slot->compressSize = 0;
   slot->compressFlag = 1;
 #endif
   CmiSetHandler(msg, persistentRequestHandlerIdx);