Commit Graph

4 Commits

Author SHA1 Message Date
Michal Jarzabek 2fea3a56a6 examples/librados/hello_world.cc:missing semicolon
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2015-09-26 14:45:22 +01:00
Brad Hubbard 26bcb362f4 Examples: hello_world.cc, content displayed after read is not null terminated.
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>
2015-09-15 18:58:44 +10:00
Jiaying Ren ca285d4d57 Fix typos in librados example code
Signed-off-by: Jiaying Ren <mikulely@gmail.com>
2015-06-17 23:47:09 +08:00
Greg Farnum 823435ce65 examples: add a librados/hello_world program
This is a simple program with lots of explanatory comments people
can use as a model for using librados.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-08-19 14:55:09 -07:00