Skip to content

Commit

Permalink
fix null nested_error
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-manzi committed Apr 2, 2018
1 parent 2a9d9ae commit 808b391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/http/gfal_http_copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 808b391

Please sign in to comment.