fixed a return value
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 23 Jul 2011 06:41:05 +0000 (01:41 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 23 Jul 2011 06:41:05 +0000 (01:41 -0500)
src/ck-ldb/lbdb.C

index 66c6a33c24e9296266618c4c5732d9b308f23fbc..dfcd731b53725b8c8e27de8be4b7eb10d0d6cb99 100644 (file)
@@ -149,7 +149,7 @@ extern "C" void LDTurnManualLBOff(LDHandle _db)
 extern "C" int LDAddMigrationDoneFn(LDHandle _db, LDMigrationDoneFn fn,  void* data) 
 {
   LBDB *const db = (LBDB*)(_db.handle);
-  db->AddMigrationDoneFn(fn,data);
+  return db->AddMigrationDoneFn(fn,data);
 }
 
 extern "C" void  LDRemoveMigrationDoneFn(LDHandle _db, LDMigrationDoneFn fn)