Fix bug which appears when multiple feeds in one room
authorArt Cancro <ajc@citadel.org>
Fri, 9 Nov 2007 22:50:32 +0000 (22:50 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 9 Nov 2007 22:50:32 +0000 (22:50 +0000)
citadel/modules/rssclient/serv_rssclient.c

index 0b32fda89f4c8b3e15eec509d293a833bdc1ec12..fa0fa76c2de02daff9a71ed178ebb5114842db56 100644 (file)
@@ -527,6 +527,9 @@ void rssclient_scan_room(struct ctdlroom *qrbuf, void *data)
 
                extract_token(instr, buf, 0, '|', sizeof instr);
                if (!strcasecmp(instr, "rssclient")) {
+
+                       use_this_rncptr = NULL;
+
                        extract_token(feedurl, buf, 1, '|', sizeof feedurl);
 
                        /* If any other rooms have requested the same feed, then we will just add this