X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Frssclient%2Fserv_rssclient.c;h=e8098e91c9c56e9d19f2812cf4d21e167f69cfe2;hb=7a9b0685e406cc83597171cc39d008c7e5459ca8;hp=7af7b510398c7e1f05deb9ab8dd9dcad52f0853d;hpb=175de9b09446460c4572117c9685ed7e4df14810;p=citadel.git diff --git a/citadel/modules/rssclient/serv_rssclient.c b/citadel/modules/rssclient/serv_rssclient.c index 7af7b5103..e8098e91c 100644 --- a/citadel/modules/rssclient/serv_rssclient.c +++ b/citadel/modules/rssclient/serv_rssclient.c @@ -17,18 +17,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -#include -# else #include -# endif -#endif - #include #include #include @@ -180,7 +169,7 @@ void rss_end_element(void *data, const char *el) long msgnum = (-1); for (rr=r->rooms; rr!=NULL; rr=rr->next) { if (rr == r->rooms) { - msgnum = CtdlSubmitMsg(r->msg, NULL, rr->room, 0); // in first room, save msg + msgnum = CtdlSubmitMsg(r->msg, NULL, rr->room); // in first room, save msg } else { CtdlSaveMsgPointerInRoom(rr->room, msgnum, 0, NULL); // elsewhere, save a pointer @@ -467,4 +456,3 @@ CTDL_MODULE_INIT(rssclient) } return "rssclient"; } -