Fix another cleaner bug
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 18 Mar 2011 07:08:33 +0000 (00:08 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 18 Mar 2011 07:08:33 +0000 (00:08 -0700)
bluesky/cleaner.c

index bd2b7f2..be0ab6a 100644 (file)
@@ -157,7 +157,7 @@ static BlueSkyCleanerItem *bluesky_cleaner_find_checkpoint(BlueSkyFS *fs)
 
     BlueSkyCleanerItem *checkpoint = bluesky_cleaner_deserialize(data);
     checkpoint->location.directory = BLUESKY_CLOUD_DIR_CLEANER;
-    checkpoint->location.directory = seq;
+    checkpoint->location.sequence = seq;
     bluesky_string_unref(data);
 
     return checkpoint;