rgw: fix return code for prepare_get_obj() on the fs storage

This commit is contained in:
Yehuda Sadeh 2010-07-23 14:07:02 -07:00
parent 577095b35b
commit d9ff7e09fc

View File

@ -469,7 +469,7 @@ int RGWFS::prepare_get_obj(std::string& bucket, std::string& obj,
if (mod_ptr) {
if (st.st_mtime < *mod_ptr) {
err->num = "304";
err->code = "PreconditionFailed";
err->code = "NotModified";
goto done_err;
}
}