Fix log direction string

This commit is contained in:
Winni Neessen 2023-01-14 13:07:42 +01:00
parent e36511e90e
commit ccbab59207
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -444,7 +444,7 @@ func (c *Client) SetDebugLog(v bool) {
// debugLog checks if the debug flag is set and if so logs the provided message to StdErr // debugLog checks if the debug flag is set and if so logs the provided message to StdErr
func (c *Client) debugLog(d logDirection, f string, a ...interface{}) { func (c *Client) debugLog(d logDirection, f string, a ...interface{}) {
if c.debug { if c.debug {
p := "S <-- C:" p := "C <-- S:"
if d == logOut { if d == logOut {
p = "C --> S:" p = "C --> S:"
} }