diff options
author | xengineering <me@xengineering.eu> | 2023-06-27 15:55:20 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-06-27 15:55:20 +0200 |
commit | 8ae8609656959763f19c1974753f5172b7603cd0 (patch) | |
tree | 86b2c1bb8d9187ef86e09add14615d8fc6ce7964 | |
parent | 8965adcdbc5ccf30afdccac31cc3a6f9d7451b91 (diff) | |
download | limox-8ae8609656959763f19c1974753f5172b7603cd0.tar limox-8ae8609656959763f19c1974753f5172b7603cd0.tar.zst limox-8ae8609656959763f19c1974753f5172b7603cd0.zip |
xmpp: Add name to return value of StartSession
This explains implicitly why the value is returned.
-rw-r--r-- | xmpp/session.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/session.go b/xmpp/session.go index 9959c80..1bd9bd5 100644 --- a/xmpp/session.go +++ b/xmpp/session.go @@ -20,7 +20,7 @@ type session struct { streamEnd xml.EndElement } -func StartSession(out chan any, jid string, pwd string) chan any { +func StartSession(out chan any, jid string, pwd string) (in chan any) { s := session{} s.jid = jid |