]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librgw: call rcb in RGWListBucketsRequest operator()
authorMatt Benjamin <mbenjamin@redhat.com>
Sat, 23 Jan 2016 19:27:39 +0000 (14:27 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 16:58:14 +0000 (11:58 -0500)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h

index eabb78cb4bfa3a4a04249b68e95605ed5febcc6d..7993192f4b9f25016c6b94a27dca3161a24cede0 100644 (file)
@@ -32,7 +32,8 @@ public:
   virtual bool only_bucket() { return false; }
 
   int operator()(const std::string& name, const std::string& marker) {
-    (void) rcb(name.c_str(), cb_arg, (*offset)++);
+    rcb(name.c_str(), cb_arg, (*offset)++);
+    return 0;
   }
 
 }; /* RGWListBucketsRequest */