Fix typo in comment.

This commit is contained in:
John C. Vernaleo 2013-08-15 10:15:25 -04:00
parent 5d40d51672
commit b0ca6d5903

View file

@ -46,7 +46,7 @@ func jsonRpcSend(user string, password string, server string, message []byte) (*
} }
// GetRaw should be called after JsonRpcSend. It reads and returns // GetRaw should be called after JsonRpcSend. It reads and returns
// the reply (which you can then call readResult() on) and closes the // the reply (which you can then call ReadResultCmd() on) and closes the
// connection. // connection.
func GetRaw(resp io.ReadCloser) ([]byte, error) { func GetRaw(resp io.ReadCloser) ([]byte, error) {
body, err := ioutil.ReadAll(resp) body, err := ioutil.ReadAll(resp)