Add a new option to make caching writethrough instead of writeback.
[bluesky.git] / bluesky / s3store.c
index 336afc2..b4920dc 100644 (file)
@@ -75,7 +75,7 @@ static void s3store_response_callback(S3Status status,
         info->success = 1;
     }
 
-    if (errorDetails != NULL) {
+    if (errorDetails != NULL && errorDetails->message != NULL) {
         g_print("  Error message: %s\n", errorDetails->message);
     }
 }