Commit a2cd6c00 authored by Milan Crha's avatar Milan Crha

EWebDAVConfigLookup: Clear output GError before using it

To avoid override of it in g_propagate_error(), which produces a runtime
warning, when there are set multiple servers and the former have failures.
parent 176e2247
......@@ -380,6 +380,8 @@ webdav_config_lookup_worker_run (EConfigLookupWorker *lookup_worker,
url = g_strconcat ("https://", servers_strv[ii], NULL);
}
g_clear_error (error);
should_stop = webdav_config_lookup_discover (dummy_source, url, trust_response, certificate, config_lookup,
params, out_restart_params, &authentication_failed, cancellable, error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment