From 18011ea2f0a946d0949d399a09b4a1c472b720a3 Mon Sep 17 00:00:00 2001 From: jim teeuwen Date: Sun, 10 Oct 2010 20:04:58 +0200 Subject: [PATCH] Fixed 2 incorrect function signatures --- xmlx/document.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmlx/document.go b/xmlx/document.go index 9c4f020..55d7edf 100644 --- a/xmlx/document.go +++ b/xmlx/document.go @@ -182,7 +182,7 @@ func (this *Document) LoadUri(uri string) (err os.Error) { return } -func (this *Document) LoadStream(r *io.Reader) (err os.Error) { +func (this *Document) LoadStream(r io.Reader) (err os.Error) { var data []byte t := bytes.NewBuffer(data) @@ -222,7 +222,7 @@ func (this *Document) SaveString() (s string, err os.Error) { return } -func (this *Document) SaveStream(w *io.Writer) (err os.Error) { +func (this *Document) SaveStream(w io.Writer) (err os.Error) { s, err := this.SaveString() if err != nil { return