Skip to content

Commit

Permalink
Fix fedora-rawhide build.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 25, 2018
1 parent 1875607 commit 226dfb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdTpc/XrdTpcMultistream.cc
Expand Up @@ -353,7 +353,7 @@ int TPCHandler::RunCurlWithStreams(XrdHttpExtReq &req, State &state,
delete *state_iter;
}
return retval;
} catch (CurlHandlerSetupError e) {
} catch (CurlHandlerSetupError &e) {
for (std::vector<State*>::iterator state_iter = handles.begin();
state_iter != handles.end();
state_iter++) {
Expand All @@ -362,7 +362,7 @@ int TPCHandler::RunCurlWithStreams(XrdHttpExtReq &req, State &state,

m_log.Emsg(log_prefix, e.what());
return req.SendSimpleResp(500, NULL, NULL, e.what(), 0);
} catch (std::runtime_error e) {
} catch (std::runtime_error &e) {
for (std::vector<State*>::iterator state_iter = handles.begin();
state_iter != handles.end();
state_iter++) {
Expand Down

0 comments on commit 226dfb1

Please sign in to comment.