]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: check for -ERR_NOT_MODIFIED in rgw_rest_s3.cc 9725/head
authorNathan Cutler <ncutler@suse.com>
Wed, 15 Jun 2016 14:53:16 +0000 (16:53 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 15 Jun 2016 14:53:16 +0000 (16:53 +0200)
Fixes: http://tracker.ceph.com/issues/16327
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/rgw/rgw_rest_s3.cc

index ada113d459e467ea10d2200de930c7a8c9247922..1d64aa061a70688a9d68ecb534c5206df2d6d098 100644 (file)
@@ -266,7 +266,7 @@ done:
                        riter->second.c_str());
   }
 
-  if (op_ret == ERR_NOT_MODIFIED) {
+  if (op_ret == -ERR_NOT_MODIFIED) {
       end_header(s, this);
   } else {
       if (!content_type)