* tinfoil-hat secure, it just needs to be reasonably unguessable
* and unique.
*/
- len = sprintf(sourcebuf, "%lx",
- (long) (++seq + getpid() + time(NULL))
- );
+ len = sprintf(sourcebuf, "%lx", (long) (++seq + getpid() + time(NULL)));
/* Convert it to base64 so it looks cool */
len = CtdlEncodeBase64(buf, sourcebuf, len, 0);
}
}
+
const RoomNetCfg ActiveSubscribers[] = {listrecp, digestrecp};
int CountThisSubscriber(OneRoomNetCfg *OneRNCfg, StrBuf *email)
else
{
/* whipe duplicate subscribe entry... */
- OneRNCfg->changed = 1;
errmsg = "already subscribed";
}
}
errmsg = "no subscriber found for this unsubscription request";
}
DeleteGenericCfgLine(NULL/*TODO*/, &ConfirmLine);
- OneRNCfg->changed = 1;
}
SaveRoomNetConfigFile(OneRNCfg, qrbuf.QRnumber);