if apicall failed - retry

This commit is contained in:
josch
2014-12-06 11:04:04 +01:00
parent dd3291a9c4
commit 8468a39c0a
20 changed files with 579 additions and 211 deletions

View File

@@ -280,7 +280,7 @@ static void connect_mf(struct mediafirefs_user_options *options,
ctx->conn = mfconn_create(options->server, options->username,
options->password, options->app_id,
options->api_key);
options->api_key, 3);
if (ctx->conn == NULL) {
fprintf(stderr, "Cannot establish connection\n");