projects
/
cascardo
/
atompub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Dummy IRI parsing. Needed to fix segfault bug, when freeing person's URI
[cascardo/atompub.git]
/
atom
/
person.c
diff --git
a/atom/person.c
b/atom/person.c
index
b60e46e
..
899fb8f
100644
(file)
--- a/
atom/person.c
+++ b/
atom/person.c
@@
-119,7
+119,7
@@
atom_person_new_from_xmlnode (xmlNodePtr node)
if (!xmlStrcmp (child->name, "name"))
person->name = content;
else if (!xmlStrcmp (child->name, "uri"))
- person->uri =
content
;
+ person->uri =
iri_new_from_string (content)
;
else if (!xmlStrcmp (child->name, "email"))
person->email = content;
else