Added Verbose mode and be more fixed some newline inconsistencies

This commit is contained in:
Henry
2014-02-11 14:08:52 +01:00
parent 3575c9897f
commit b0e9ab001e
7 changed files with 45 additions and 35 deletions

View File

@ -28,7 +28,7 @@ func (r ReplyError) Error() string {
func (c *Client) Lookup(name string) (addr string, err error) {
var r *Reply
r, err = c.sendCmd(fmt.Sprintf("NAMING LOOKUP NAME=%s\n", name))
r, err = c.sendCmd(fmt.Sprintf("NAMING LOOKUP NAME=%s", name))
if err != nil {
return
}