]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: always set the outstrlen for rados_ping_monitor() 8629/head
authorKefu Chai <kchai@redhat.com>
Sat, 16 Apr 2016 18:47:36 +0000 (02:47 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 16 Apr 2016 18:47:37 +0000 (02:47 +0800)
commitf8cfb69c920c679f53d43c0437dd11927633bd40
tree3a994c911d3d444eb983108e1321373e99c57d37
parentf0e3b618d76d35c4d906c5f101004106af55b7cc
librados: always set the outstrlen for rados_ping_monitor()

should set outstrlen even if the returned payload is empty. and we do
handle the empty string in do_out_buffer().

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/librados/librados.cc