helpful progress reporting
[IRC.git] / Robust / src / Runtime / DSTM / interface / mlookup.c
index a554d62fe0e98697a2cd427fe243746fe273eb0b..4d5c6263ba4c11f366844bce782b006b075d9003 100644 (file)
@@ -195,11 +195,10 @@ unsigned int *mhashGetKeys(unsigned int *numKeys) {
   keys = calloc(*numKeys, sizeof(unsigned int));
 
   keyindex = 0;
-  for (i = 0; i < mlookup.size; i++)
-  {
-    if (mlookup.table[i].key != 0){
+  for (i = 0; i < mlookup.size; i++) {
+    if (mlookup.table[i].key != 0) {
       curr = &mlookup.table[i];
-      while (curr != NULL){
+      while (curr != NULL) {
        keys[keyindex++] = curr->key;
        curr = curr->next;
       }