If the 'if' clause ends executing a goto, there is no need for an else
clause that only prints a message about the success of the action.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
If the 'if' clause ends executing a goto, there is no need for an else
clause that only prints a message about the success of the action.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
109e6022be introduced "-lboost_system" into
example/librados/Makefile but the Boost system library is no longer required
to compile and link hello_world.cc.
Fixes: http://tracker.ceph.com/issues/25054
Signed-off-by: Nathan Cutler <ncutler@suse.com>
The library link order in librados example Makefile is incorrect
and as a result 'make' throws an error. This change fixes the order.
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Fixes#15100. The Makefile now by default links and includes from the
current source tree's librados and offers another option for building
examples against the system's.
Signed-off-by: Jesse Williamson <nerd.cpp@gmail.com>
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.
Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>