add more information to the system contexts, so one can use RWHO to find out what...
[citadel.git] / citadel / modules / rssclient / serv_rssclient.c
index 72717359a6fc9f1fdb8aa0fc08eb6b4156e8db78..db6d37fb0f3bf31c8eb555a0ae6b888d560b2ddd 100644 (file)
@@ -467,6 +467,9 @@ int rss_do_fetching(rss_aggregator *Cfg)
        IO->CitContext = CloneContext(&rss_CC);
        IO->Data = Cfg;
 
+       safestrncpy(((CitContext*)IO->CitContext)->cs_host, 
+                   ChrPtr(Cfg->Url),
+                   sizeof(((CitContext*)IO->CitContext)->cs_host)); 
 
        syslog(LOG_DEBUG, "Fetching RSS feed <%s>\n", ChrPtr(Cfg->Url));
        ParseURL(&IO->ConnectMe, Cfg->Url, 80);