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 12, 2022
1 parent c3fed9c commit b5055db
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 b5055db

Please sign in to comment.