]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CephBroker: Removed unneeded ++
authorGreg Farnum <gregf@hq.newdream.net>
Fri, 17 Jul 2009 22:23:22 +0000 (15:23 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Mon, 20 Jul 2009 21:47:03 +0000 (14:47 -0700)
src/client/hypertable/CephBroker.cc

index 2432e9a6f0ae7f4b45a4863a64b46cbc034df079..1b29131ad030a9e938a769c55d151d3ee3044321 100644 (file)
@@ -51,7 +51,7 @@ CephBroker::CephBroker(PropertiesPtr& cfg) {
   argv[argc++] = "0"; */
 
   HT_INFO("Calling ceph_initialize");
-  ceph_initialize(argc++, argv);
+  ceph_initialize(argc, argv);
   HT_INFO("Calling ceph_mount");
   ceph_mount();
   HT_INFO("Returning from constructor");
@@ -381,8 +381,6 @@ void CephBroker::status(ResponseCallback *cb) {
     included in Hypertable also do this. */
 }
 
-/* I have no idea if this is correct; it's what local and kosmos brokers do. Check the contract!
- */
 void CephBroker::shutdown(ResponseCallback *cb) {
   m_open_file_map.remove_all();
   cb->response_ok();