Skip to content

Commit

Permalink
Stop calling Atom person constructs w/ URI invalid (Github #98, patc…
Browse files Browse the repository at this point in the history
…h by Aristotle Pagaltzis)
  • Loading branch information
lwindolf committed Sep 20, 2014
1 parent ccc3948 commit 61d08d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ To be released

* Fixes Github #86: Support HTTP content negotiation
(suggested by DanMan)
* Fixes Github #98: Stop calling Atom person constructs w/ URI invalid
(patch by Aristotle Pagaltzis)


2014-08-24 Lars Windolf <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/atom10.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ atom10_parse_person_construct (xmlNodePtr cur)
}

if (xmlStrEqual(cur->name, BAD_CAST"uri")) {
if (!uri)
if (uri)
invalid = TRUE;
g_free (uri);
tmp = (gchar *)xmlNodeListGetString (cur->doc, cur->xmlChildrenNode, 1);
Expand Down

0 comments on commit 61d08d7

Please sign in to comment.