[rtsp] Silence event_del warnings

This commit is contained in:
ejurgensen 2017-06-27 22:15:53 +02:00
parent 81a93bbec1
commit 467b652da0
1 changed files with 3 additions and 1 deletions

View File

@ -767,7 +767,9 @@ static void
evrtsp_connection_stop_detectclose(struct evrtsp_connection *evcon) evrtsp_connection_stop_detectclose(struct evrtsp_connection *evcon)
{ {
evcon->flags &= ~EVRTSP_CON_CLOSEDETECT; evcon->flags &= ~EVRTSP_CON_CLOSEDETECT;
event_del(&evcon->close_ev);
if (event_initialized(&evcon->close_ev))
event_del(&evcon->close_ev);
} }
/* /*