Merge pull request #68 from virtualsue/master

Add newline to error message
This commit is contained in:
Jim Teeuwen 2015-08-25 08:12:15 +02:00
commit 31df4852b3
1 changed files with 1 additions and 1 deletions

2
testdata/example.go vendored
View File

@ -37,7 +37,7 @@ func PollFeed(uri string, timeout int, cr xmlx.CharsetFunc) {
for { for {
if err := feed.Fetch(uri, cr); err != nil { if err := feed.Fetch(uri, cr); err != nil {
fmt.Fprintf(os.Stderr, "[e] %s: %s", uri, err) fmt.Fprintf(os.Stderr, "[e] %s: %s\n", uri, err)
return return
} }