From 089b82529d97b813bd0ff163b2989773d0f881d1 Mon Sep 17 00:00:00 2001 From: daryder Date: Wed, 15 Oct 2014 08:50:52 -0400 Subject: [PATCH] move debug statements to separate lines --- src/ceph.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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]); -- 2.30.2