From 9836c7e10440364f3516c9a29e351cba92237b61 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 29 Jun 2018 07:43:21 +0200 Subject: WebRTC: Nullcheck DataChannel SendPacket calls. --- netwerk/sctp/datachannel/DataChannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netwerk/sctp/datachannel/DataChannel.h') diff --git a/netwerk/sctp/datachannel/DataChannel.h b/netwerk/sctp/datachannel/DataChannel.h index 84ab422fc..ebf29366b 100644 --- a/netwerk/sctp/datachannel/DataChannel.h +++ b/netwerk/sctp/datachannel/DataChannel.h @@ -111,7 +111,7 @@ public: virtual void NotifyDataChannel(already_AddRefed channel) = 0; }; - explicit DataChannelConnection(DataConnectionListener *listener); + DataChannelConnection(DataConnectionListener *listener); bool Init(unsigned short aPort, uint16_t aNumStreams, bool aUsingDtls); void Destroy(); // So we can spawn refs tied to runnables in shutdown -- cgit v1.2.3