]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: fix the C++ interface init
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 6 Dec 2010 19:16:35 +0000 (11:16 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 6 Dec 2010 19:16:35 +0000 (11:16 -0800)
src/librados.cc

index 28588a2d708af6e0515a06520eb1f017b379979b..d65b39ae241e8306bc61e73afd58e5f91714cef9 100644 (file)
@@ -1392,7 +1392,7 @@ int Rados::initialize(int argc, const char *argv[])
   if (g_conf.clock_tare) g_clock.tare();
 
   client = new RadosClient();
-  return client->init() ? 0 : -1;
+  return client->init();
 }
 
 void Rados::shutdown()