From: Michael Vrable Date: Fri, 10 Sep 2010 20:53:00 +0000 (-0700) Subject: Fix for S3 list operation. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=b81e0d5d2f452f768a2923c1edf9e09a9b0f8233;p=bluesky.git Fix for S3 list operation. --- diff --git a/bluesky/inode.c b/bluesky/inode.c index e11bfeb..515b72f 100644 --- a/bluesky/inode.c +++ b/bluesky/inode.c @@ -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); diff --git a/bluesky/store-s3.c b/bluesky/store-s3.c index e762ebd..d5f06e8 100644 --- a/bluesky/store-s3.c +++ b/bluesky/store-s3.c @@ -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)