* Fix for idle_threshold being ignored when reading citadel.rc
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 21 Dec 2003 00:44:19 +0000 (00:44 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 21 Dec 2003 00:44:19 +0000 (00:44 +0000)
citadel/ChangeLog
citadel/commands.c

index 96782b910bd2b3479117b1284beaecf342b69426..67a7cb556bd9d369ee652cda994113c30add600e 100644 (file)
@@ -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 <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index bd5cff14f9f1fd96524fa696206ef8925f2652f1..b33aeb07dcf3aafaa7bdf03bca9e68c84a1f0356 100644 (file)
@@ -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]);