projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more progress on callers
[citadel.git]
/
citadel
/
modules
/
rssclient
/
serv_rssclient.c
diff --git
a/citadel/modules/rssclient/serv_rssclient.c
b/citadel/modules/rssclient/serv_rssclient.c
index 17b67317fd7a5ac42c25e3e888ec954ab1acb73c..5893fe76b73b157822d8f0f3d6cda5195d0a7b0a 100644
(file)
--- a/
citadel/modules/rssclient/serv_rssclient.c
+++ b/
citadel/modules/rssclient/serv_rssclient.c
@@
-1,7
+1,7
@@
/*
* Bring external RSS feeds into rooms.
*
/*
* Bring external RSS feeds into rooms.
*
- * Copyright (c) 2007-201
5
by the citadel.org team
+ * Copyright (c) 2007-201
6
by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
@@
-507,9
+507,9
@@
eNextState RSS_FetchNetworkUsetableEntry(AsyncIO *IO)
void UpdateLastKnownGood(pRSSConfig *pCfg, time_t now)
{
void UpdateLastKnownGood(pRSSConfig *pCfg, time_t now)
{
- OneRoomNetCfg
*
pRNCfg;
+ OneRoomNetCfg
*
pRNCfg;
begin_critical_section(S_NETCONFIGS);
begin_critical_section(S_NETCONFIGS);
- pRNCfg = CtdlGetNetCfgForRoom
(pCfg->QRnumber);
+ pRNCfg = CtdlGetNetCfgForRoom(pCfg->QRnumber);
if (pRNCfg != NULL)
{
RSSCfgLine *RSSCfg = (RSSCfgLine *)pRNCfg->NetConfigs[rssclient];
if (pRNCfg != NULL)
{
RSSCfgLine *RSSCfg = (RSSCfgLine *)pRNCfg->NetConfigs[rssclient];
@@
-528,6
+528,8
@@
void UpdateLastKnownGood(pRSSConfig *pCfg, time_t now)
}
}
}
}
+ SaveRoomNetConfigFile(pRNCfg, pCfg->QRnumber);
+ FreeRoomNetworkStruct(&pRNCfg);
end_critical_section(S_NETCONFIGS);
}
end_critical_section(S_NETCONFIGS);
}