#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#include <sys/time.h>
-# else
#include <time.h>
-# endif
-#endif
-
#include <ctype.h>
#include <string.h>
#include <errno.h>
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
}
return "rssclient";
}
-