first working RSS collection with async DB-Saves
[citadel.git] / citadel / modules / urldeshortener / serv_expand_shorter_urls.c
index ea37d4034b65ef422f5fd2054522d18fbcc4ad35..3c3b11a2abd44ef18ac60499f3811e18993b2565 100644 (file)
@@ -191,7 +191,7 @@ int SortConstStrByPosition(const void *Item1, const void *Item2)
        return -1;
 }
 
-HashList GetShorterUrls(StrBuf Message)
+HashList *GetShorterUrls(StrBuf *Message)
 {
        HashList *pUrls;
        /* we just suspect URL shorteners to be inside of feeds from twitter
@@ -204,7 +204,7 @@ HashList GetShorterUrls(StrBuf Message)
        CrawlMessageForShorterUrls(pUrls, Message);
 
        if (GetCount(pUrls) > 0)
-               return pURLs;
+               return pUrls;
        else 
                return NULL;