]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msgr: fix start() return value
authorSage Weil <sage@newdream.net>
Thu, 17 Mar 2011 19:05:29 +0000 (12:05 -0700)
committerSage Weil <sage@newdream.net>
Thu, 17 Mar 2011 19:05:29 +0000 (12:05 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/msg/SimpleMessenger.h

index a488406c79b8734360239c2110c316c772bb807b..6eb282dc37c99ac374a9f7400f42ef1e0b85cf29 100644 (file)
@@ -567,7 +567,7 @@ public:
   int start(bool daemonize, uint64_t nonce);  // if we didn't bind
   int start(bool daemonize) {                 // if we did
     assert(did_bind);
-    start(daemonize, 0);
+    return start(daemonize, 0);
   }
   void wait();