summaryrefslogtreecommitdiff
path: root/unxml.go
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2015-06-14 16:25:21 +0200
committerSilvan Jegen <s.jegen@gmail.com>2015-06-14 16:25:21 +0200
commitb23eba2ee57779c571fbe73c07661e8f3fddc25a (patch)
tree58162384062b535cd8533d70c36b20e3c604e97e /unxml.go
parent3018cef11b595dde582f22a48685f15756d18b9b (diff)
Adjust debugging printf string
Diffstat (limited to 'unxml.go')
-rw-r--r--unxml.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unxml.go b/unxml.go
index 6478995..473fe9e 100644
--- a/unxml.go
+++ b/unxml.go
@@ -171,7 +171,7 @@ func (r *ElementReader) Read(out []byte) (int, error) {
r.xr.count += n
lenout -= n
} else {
- //fmt.Printf("HAD NO SPACE: count: %d, lenout: %d\n", r.xr.count, lenout)
+ //fmt.Printf("HAD NO SPACE: wrote: %q, count: %d, lenout: %d\n", text[:lenout], r.xr.count, lenout)
n = copy(out[r.xr.count:], text[:lenout])
r.xr.count += n
r.xr.lastread = text[lenout:]