summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aedf67e)
raw | patch | inline | side by side (parent: aedf67e)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Thu, 3 Mar 2016 21:13:37 +0000 (22:13 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Thu, 3 Mar 2016 21:13:37 +0000 (22:13 +0100) |
src/ceph.c | patch | blob | history |
diff --git a/src/ceph.c b/src/ceph.c
index 251def9cd66ae1f21dd23c13eafd827f9f9fd0f0..9c53a3e76590e1ba490c83e24c26551815c935cf 100644 (file)
--- a/src/ceph.c
+++ b/src/ceph.c
fd = socket(PF_UNIX, SOCK_STREAM, 0);
if(fd < 0)
{
- int err = -errno;
+ err = -errno;
ERROR("ceph plugin: cconn_connect: socket(PF_UNIX, SOCK_STREAM, 0) "
"failed: error %d", err);
return err;
}
else
{
- int ret = cconn_handle_event(io);
+ ret = cconn_handle_event(io);
if(ret)
{
WARNING("ceph plugin: cconn_handle_event(name=%s,"