]> code.citadel.org Git - citadel.git/blobdiff - citadel/setup.c
* Actually _enforce_ the max msg len limit
[citadel.git] / citadel / setup.c
index 5632262b32ac44d63f189839860f44b9c9159fa7..d5eaf39c3381694c8e694b6d1d3f6868354dfd1b 100644 (file)
@@ -900,15 +900,6 @@ int main(int argc, char *argv[])
        }
 
 
-       /* Default maximum message length is 'unlimited' (max int)
-        * and the minimum is 8192
-        */
-       if (config.c_maxmsglen <= 0)
-               config.c_maxmsglen = INT_MAX;
-       if (config.c_maxmsglen < 8192)
-               config.c_maxmsglen = 8192;
-
-
        /* Go through a series of dialogs prompting for config info */
        for (curr = 1; curr <= MAXSETUP; ++curr) {
                edit_value(curr);