projects
/
cascardo
/
atompub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename the functions to set and retrieve the xml content from atom:content.
[cascardo/atompub.git]
/
atom
/
error.c
diff --git
a/atom/error.c
b/atom/error.c
index
a8e08e4
..
9449c28
100644
(file)
--- a/
atom/error.c
+++ b/
atom/error.c
@@
-67,6
+67,8
@@
atom_error_message (AtomError *error)
void
atom_error_message_set (AtomError *error, char *message)
{
+ if (error->message)
+ g_free (error->message);
error->message = g_strdup (message);
}