Fix for S3 list operation.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 10 Sep 2010 20:53:00 +0000 (13:53 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 10 Sep 2010 20:53:00 +0000 (13:53 -0700)
bluesky/inode.c
bluesky/store-s3.c

index e11bfeb..515b72f 100644 (file)
@@ -348,7 +348,7 @@ static void complete_inode_fetch(BlueSkyInode *inode)
 {
     BlueSkyCloudLog *item = inode->committed_item;
     inode->committed_item = NULL;
-    g_print("Completing fetch of inode %"PRIu64"...", inode->inum);
+    g_print("Completing fetch of inode %"PRIu64"...\n", inode->inum);
 
     g_mutex_lock(item->lock);
     bluesky_cloudlog_fetch(item);
index e762ebd..d5f06e8 100644 (file)
@@ -165,7 +165,7 @@ static char *s3store_lookup_last(gpointer s, const char *prefix)
 
     g_print("Last key: %s\n", info.last_entry);
 
-    return S3StatusOK;
+    return info.last_entry;
 }
 
 static gpointer s3store_new(const gchar *path)