From 7980acfc0cddba47c0d4643a2e743089eec3c161 Mon Sep 17 00:00:00 2001 From: Michael Hampton Date: Sun, 21 Dec 2003 00:44:19 +0000 Subject: [PATCH] * Fix for idle_threshold being ignored when reading citadel.rc --- citadel/ChangeLog | 4 +++- citadel/commands.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 96782b910..67a7cb556 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 613.4 2003/12/21 00:44:19 error + * Fix for idle_threshold being ignored when reading citadel.rc + Revision 613.3 2003/12/21 00:37:54 error * Fix for crash when downloading multiple attachments @@ -5172,4 +5175,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/commands.c b/citadel/commands.c index bd5cff14f..b33aeb07d 100644 --- a/citadel/commands.c +++ b/citadel/commands.c @@ -849,7 +849,7 @@ void load_command_set(void) rc_allow_attachments = atoi(&buf[18]); } if (!strncasecmp(buf, "idle_threshold=", 15)) { - rc_idle_threshold = atoi(&buf[15]); + rc_idle_threshold = atol(&buf[15]); } if (!strncasecmp(buf, "remember_passwords=", 19)) { rc_remember_passwords = atoi(&buf[19]); -- 2.39.2