$Log$
+ Revision 591.29 2002/05/20 14:29:59 ajc
+ * commands.c: fixed bug in the scan for idle_threshold= which didn't include
+ the = sign and ended up always setting this value to 0
+
Revision 591.28 2002/05/17 03:57:30 ajc
* When doing fixed_output() of converted HTML, output the whole block of
data at once instead of one character at a time
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
extern char rc_username[32];
extern char rc_password[32];
extern char rc_floor_mode;
-extern int rc_idle_threshold;
+extern time_t rc_idle_threshold;
#ifdef HAVE_OPENSSL
extern char rc_encrypt; /* from the citadel.rc file */
extern char arg_encrypt; /* from the command line */
int rc_ansi_color;
int num_urls = 0;
int rc_prompt_control = 0;
-int rc_idle_threshold = 900;
+time_t rc_idle_threshold = (time_t)900;
char urls[MAXURLS][SIZ];
char rc_url_cmd[SIZ];
if (!strncasecmp(buf, "allow_attachments=", 18)) {
rc_allow_attachments = atoi(&buf[18]);
}
- if (!strncasecmp(buf, "idle_threshold=", 14)) {
- rc_idle_threshold = atoi(&buf[14]);
+ if (!strncasecmp(buf, "idle_threshold=", 15)) {
+ rc_idle_threshold = atoi(&buf[15]);
}
if (!strncasecmp(buf, "remember_passwords=", 19)) {
rc_remember_passwords = atoi(&buf[19]);