summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-08-09 10:26:53 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-08-09 12:33:38 -0700
commit71177fe3c7a164ad4b0c7d507949b2f07a792f9a (patch)
tree6276eae07eff3712fac64fde619e8b76e10a937f
parent1563613d83aa6937529fda8e09a0f59ff939712d (diff)
downloadceph-71177fe3c7a164ad4b0c7d507949b2f07a792f9a.tar.gz
rgw: rename read_header() to receive_header() where needed
The same as with #5921, fixing a missed interface change. Reviewed-by: Sage Weil <sage@inktank.com> Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_swift.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc
index dcf6230207b..8ad59e22485 100644
--- a/src/rgw/rgw_swift.cc
+++ b/src/rgw/rgw_swift.cc
@@ -28,12 +28,12 @@ protected:
public:
RGWValidateSwiftToken(CephContext *_cct, struct rgw_swift_auth_info *_info) : RGWHTTPClient(_cct), info(_info) {}
- int read_header(void *ptr, size_t len);
+ int receive_header(void *ptr, size_t len);
friend class RGWKeystoneTokenCache;
};
-int RGWValidateSwiftToken::read_header(void *ptr, size_t len)
+int RGWValidateSwiftToken::receive_header(void *ptr, size_t len)
{
char line[len + 1];