From 808b3916e913812f4079188d4fdb3bdc95af22a1 Mon Sep 17 00:00:00 2001 From: Andrea Manzi Date: Mon, 2 Apr 2018 11:34:30 +0200 Subject: [PATCH] fix null nested_error --- src/plugins/http/gfal_http_copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/http/gfal_http_copy.cpp b/src/plugins/http/gfal_http_copy.cpp index f1790297..2b0095bb 100644 --- a/src/plugins/http/gfal_http_copy.cpp +++ b/src/plugins/http/gfal_http_copy.cpp @@ -588,7 +588,7 @@ int gfal_http_copy(plugin_handle plugin_data, gfal2_context_t context, params, &nested_error); } else { - gfalt_set_error(err, http_plugin_domain, EIO, __func__, + gfalt_set_error(&nested_error, http_plugin_domain, EIO, __func__, GFALT_ERROR_TRANSFER, "STREAMED DISABLED", "Trying to fallback to a streamed copy, but they are disabled"); }