From: Yehuda Sadeh Date: Mon, 6 Dec 2010 19:16:35 +0000 (-0800) Subject: librados: fix the C++ interface init X-Git-Tag: v0.24~53 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=aa3dda61dda4bdf5a4c6775ecd059098e379a3c6;p=ceph.git librados: fix the C++ interface init --- diff --git a/src/librados.cc b/src/librados.cc index 28588a2d708af..d65b39ae241e8 100644 --- a/src/librados.cc +++ b/src/librados.cc @@ -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()