X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Furldeshortener%2Fserv_expand_shorter_urls.c;h=3c3b11a2abd44ef18ac60499f3811e18993b2565;hp=ea37d4034b65ef422f5fd2054522d18fbcc4ad35;hb=1dd7c0f770f23bbc4f65de406deb75eb059b417f;hpb=3d75f776e96c2dc3f99685d689f4091340777615 diff --git a/citadel/modules/urldeshortener/serv_expand_shorter_urls.c b/citadel/modules/urldeshortener/serv_expand_shorter_urls.c index ea37d4034..3c3b11a2a 100644 --- a/citadel/modules/urldeshortener/serv_expand_shorter_urls.c +++ b/citadel/modules/urldeshortener/serv_expand_shorter_urls.c @@ -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;