Minor: comment reformat.

This commit is contained in:
Mickael Remond 2018-09-23 18:43:46 +02:00
parent a43518b976
commit 1c3aaad174
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -54,8 +54,7 @@ func NewClient(options Options) (c *Client, err error) {
return return
} }
// TODO Pass JID to be able to add default address based on JID, if // TODO Pass JID to be able to add default address based on JID, if addr is empty
// addr is empty
func checkAddress(addr string) (string, error) { func checkAddress(addr string) (string, error) {
var err error var err error
hostport := strings.Split(addr, ":") hostport := strings.Split(addr, ":")