messages/MClientCapRelease: fix string output

Use the vector size, not what is in the header, which is not yet filled in
for outgoing messages.

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-05-31 09:20:50 -07:00
parent f7c1944029
commit 1cb7dbd94a

View File

@ -33,7 +33,7 @@ private:
public:
const char *get_type_name() const { return "client_cap_release";}
void print(ostream& out) const {
out << "client_cap_release(" << head.num << ")";
out << "client_cap_release(" << caps.size() << ")";
}
void decode_payload() {