Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SlyMarbo committed Apr 23, 2013
1 parent adc07df commit 193db09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions atom.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func parseAtom(data []byte, read *db) (*Feed, error) {
}

out.Items = make([]*Item, 0, len(feed.Items))
out.ItemMap = make(map[string]struct{})

// Process items.
for _, item := range feed.Items {
Expand Down
1 change: 1 addition & 0 deletions rss 1.0.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func parseRSS1(data []byte, read *db) (*Feed, error) {
}

out.Items = make([]*Item, 0, len(feed.Items))
out.ItemMap = make(map[string]struct{})

// Process items.
for _, item := range feed.Items {
Expand Down

0 comments on commit 193db09

Please sign in to comment.