summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/feeds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feeds.c b/src/feeds.c
index 3bb6ad89..91ef8c2c 100644
--- a/src/feeds.c
+++ b/src/feeds.c
@@ -241,9 +241,10 @@ static void parseResult_FeedJob_(iFeedJob *d) {
241 entry->bookmarkId = d->bookmarkId; 241 entry->bookmarkId = d->bookmarkId;
242 iString *title = newRange_String(line); 242 iString *title = newRange_String(line);
243 set_String(&entry->title, title); 243 set_String(&entry->title, title);
244 set_String(&entry->url, canonicalUrl_String(&d->url)); 244 set_String(&entry->url, &d->url);
245 appendChar_String(&entry->url, '#'); 245 appendChar_String(&entry->url, '#');
246 append_String(&entry->url, collect_String(urlEncode_String(title))); 246 append_String(&entry->url, collect_String(urlEncode_String(title)));
247 set_String(&entry->url, canonicalUrl_String(&entry->url));
247 delete_String(title); 248 delete_String(title);
248 pushBack_PtrArray(&d->results, entry); 249 pushBack_PtrArray(&d->results, entry);
249 } 250 }