Disable RSS-shorter link expander.
[citadel.git] / citadel / modules / rssclient / serv_rssclient.c
index 98f23e6ee4673d3fbb9456f3b02726fe4c575cd1..b991b4df13b2c372e794d36fcd98378d3af3ffb5 100644 (file)
@@ -386,6 +386,7 @@ int LookupUrl(StrBuf *ShorterUrlStr)
                rc = 1;
 
 shutdown:
+       FreeStrBuf(&Answer);
        curl_easy_cleanup(curl);
 
                return rc;
@@ -687,7 +688,10 @@ void rss_save_item(rss_item *ri)
                }
                if (ri->link == NULL) 
                        ri->link = NewStrBufPlain(HKEY(""));
+#ifdef EXPERIMENTAL_SHORTER_URLS
+/* its rather hard to implement this libevent compatible, so we don't ship it. */
                ExpandShortUrls(ri->description);
+#endif
                msglen += 1024 + StrLength(ri->link) + StrLength(ri->description) ;
 
                Message = NewStrBufPlain(NULL, StrLength(ri->description));