Skip to content

Commit

Permalink
[core] Minor clean up fix rethrowing an exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Jul 11, 2022
1 parent 4c930cc commit 81eb354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,7 @@ int srt::CUDTUnited::connectIn(CUDTSocket* s, const sockaddr_any& target_addr, i
{
s->core().startConnect(target_addr, forced_isn);
}
catch (CUDTException& e) // Interceptor, just to change the state.
catch (const CUDTException&) // Interceptor, just to change the state.
{
s->m_Status = SRTS_OPENED;
throw;
Expand Down

0 comments on commit 81eb354

Please sign in to comment.