From f345423e7366a1d6eba527d75469cd19f7c21c41 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Tue, 19 Nov 2019 16:15:29 -0800 Subject: [PATCH] nil optoins --- src/croc/croc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/croc/croc.go b/src/croc/croc.go index 5151ee75..c0364827 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -356,11 +356,12 @@ func (c *Client) CreateOfferer(finished chan<- error) (pc *webrtc.PeerConnection // MaxRetransmits: &maxRetransmits, ID: &id, } + _ = options sendMoreCh := make(chan struct{}) // Create a datachannel with label 'data' - dc, err := pc.CreateDataChannel("data", options) + dc, err := pc.CreateDataChannel("data", nil) if err != nil { log.Error(err) return