Debugging output cleanup.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 11 May 2007 21:39:23 +0000 (14:39 -0700)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Fri, 11 May 2007 21:39:23 +0000 (14:39 -0700)
scandir.cc
store.cc

index c8a4180..702fce2 100644 (file)
@@ -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");
index ce54e87..70be126 100644 (file)
--- 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));