diff --git a/src/git.xdrm.io/schastsp/client/client.go b/src/git.xdrm.io/schastsp/client/client.go index 86d16bd..36ed5cc 100644 --- a/src/git.xdrm.io/schastsp/client/client.go +++ b/src/git.xdrm.io/schastsp/client/client.go @@ -96,7 +96,7 @@ func (c *T) Receive(r io.Reader) error { if err != nil { return err } if uint16(read) != 1 { return errors.New("Cannot read error code") } - fmt.Printf("ERROR CODE : %d\n", errCode[0]); + if DEBUG { fmt.Printf("ERROR CODE : %d\n", errCode[0]) } /* (2) Manage success ---------------------------------------------------------*/