From: daryder Date: Wed, 15 Oct 2014 12:50:52 +0000 (-0400) Subject: move debug statements to separate lines X-Git-Tag: collectd-5.5.0~80^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=089b82529d97b813bd0ff163b2989773d0f881d1;p=collectd.git move debug statements to separate lines --- diff --git a/src/ceph.c b/src/ceph.c index 4ca24cc9..06d57af6 100644 --- a/src/ceph.c +++ b/src/ceph.c @@ -950,7 +950,8 @@ static int node_handler_fetch_data(void *arg, const char *val, const char *key) memset(ds_name, 0, sizeof(ds_name)); if(parse_keys(key, dset_name, ds_name)) { - return 1;DEBUG("enter node_handler_fetch_data"); + DEBUG("enter node_handler_fetch_data"); + return 1; } dset_idx = get_matching_dset(vtmp->d, dset_name); if(dset_idx == -1) @@ -961,8 +962,9 @@ static int node_handler_fetch_data(void *arg, const char *val, const char *key) vtmp->d->dset[dset_idx].ds_num); if(ds_idx == -1) { - return RETRY_AVGCOUNT;DEBUG("DSet:%s, DS:%s, DSet idx:%d, DS idx:%d", + DEBUG("DSet:%s, DS:%s, DSet idx:%d, DS idx:%d", dset_name,ds_name,dset_idx,ds_idx); + return RETRY_AVGCOUNT; } uv = &(vtmp->vh[dset_idx].values[ds_idx]);