]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Paxos.h: fix dangerouse use of c_str()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 25 Feb 2013 13:10:20 +0000 (14:10 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 25 Feb 2013 13:10:20 +0000 (14:10 +0100)
commit350481f90fc5abaa60cfa986160efb19c27b4af3
tree14396fe751660e37eb029371761b4fddc61c075a
parent9217c4ac6856efd9dc3435244d95eee32edfd443
Paxos.h: fix dangerouse use of c_str()

No need to use c_str() in get_statename(), simply return a
std::strin instead.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mon/Paxos.h