Fixed setting an entry title
[cascardo/atompub.git] / atom / entry.c
index 7faccd3..fac28f2 100644 (file)
@@ -129,7 +129,7 @@ atom_entry_title_set (AtomEntry *entry, char *title)
 {
   if (entry->title)
     g_free (title);
-  entry->title = g_strdup (entry);
+  entry->title = g_strdup (title);
 }
 
 void