From: Michael Vrable Date: Fri, 11 May 2007 21:39:23 +0000 (-0700) Subject: Debugging output cleanup. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=6fc3c86d0c9fc87ae993577c9954dbdca725a64d;p=cumulus.git Debugging output cleanup. --- diff --git a/scandir.cc b/scandir.cc index c8a4180..702fce2 100644 --- a/scandir.cc +++ b/scandir.cc @@ -334,7 +334,7 @@ int main(int argc, char *argv[]) segment_list.insert(root->get_ref().get_segment()); string r = root->get_ref().to_string(); - printf("root: %s\n\n", r.c_str()); + printf("\nroot: %s\n\n", r.c_str()); delete root; printf("segments:\n"); diff --git a/store.cc b/store.cc index ce54e87..70be126 100644 --- a/store.cc +++ b/store.cc @@ -141,8 +141,6 @@ void TarSegmentStore::sync() void TarSegmentStore::close_segment(const string &group) { struct segment_info *segment = segments[group]; - fprintf(stderr, "Closing segment group %s (%s)\n", - group.c_str(), segment->name.c_str()); delete segment->file; segments.erase(segments.find(group));