]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Properly format Content-Length: header on 32-bit systems. 92/head
authorJan Harkes <jaharkes@cs.cmu.edu>
Thu, 7 Mar 2013 21:07:26 +0000 (16:07 -0500)
committerJan Harkes <jaharkes@cs.cmu.edu>
Fri, 8 Mar 2013 17:28:54 +0000 (12:28 -0500)
commit416b962c85390efca77e224afc6a7f4e69c4f805
tree08b6cde334a851433325fd6b4430f78ded40b777
parent439d0e334d7d0246806e5b7c6702b8198f9bed71
Properly format Content-Length: header on 32-bit systems.

- Promote len argument in dump_content_length to uint64_t.
- Make sure there is sufficient scratch space to format string.
- Use PRIu64 macro for formatting.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
src/rgw/rgw_rest.cc
src/rgw/rgw_rest.h