~emersion/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH soju] Fix handling of empty response to SASL challenge

Details
Message ID
<20200605093429.165376-1-fox.cpp@disroot.org>
DKIM signature
pass
Download raw message
Patch: +1 -1
---
 upstream.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upstream.go b/upstream.go
index 82c2417..35cfb49 100644
--- a/upstream.go
+++ b/upstream.go
@@ -507,7 +507,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {

		// TODO: send response in multiple chunks if >= 400 bytes
		var respStr = "+"
		if resp != nil {
		if len(resp) != 0 {
			respStr = base64.StdEncoding.EncodeToString(resp)
		}

-- 
2.26.2
Details
Message ID
<ZrEpSxDBtYhT2tZblYn8v22CnWwp7cV8sG1NNLcCbRhRkmT7mnYgq42ULXk9iPVJI9OgcZUPbRr7k8T7dC9rQgjYN9-dM5H7zlLi0x1LfBQ=@emersion.fr>
In-Reply-To
<20200605093429.165376-1-fox.cpp@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Thanks for the fix, pushed!
Review patch Export thread (mbox)