1 |
wellsi |
1.1 |
diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT |
2 |
|
|
--- e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT 2012-07-06 07:15:28.000000000 +0100 |
3 |
|
|
+++ e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT 2012-07-07 05:41:57.000000000 +0100 |
4 |
|
|
@@ -3,5 +3,7 @@ |
5 |
|
|
my $MIN_MEMORY_LIMIT = 40000000; |
6 |
|
|
|
7 |
|
|
# The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT |
8 |
|
|
-$OUT = (not defined ($pop3{MemLimit})) || ($pop3{MemLimit} < $MIN_MEMORY_LIMIT) ? $MIN_MEMORY_LIMIT : $pop3{MemLimit}; |
9 |
|
|
+my $limit = $pop3{MemLimit} || $MIN_MEMORY_LIMIT; |
10 |
|
|
+$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT; |
11 |
|
|
+$OUT = "$limit"; |
12 |
|
|
} |
13 |
|
|
diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT |
14 |
|
|
--- e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT 2012-07-06 07:15:28.000000000 +0100 |
15 |
|
|
+++ e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT 2012-07-07 05:41:39.000000000 +0100 |
16 |
|
|
@@ -3,5 +3,7 @@ |
17 |
|
|
my $MIN_MEMORY_LIMIT = 40000000; |
18 |
|
|
|
19 |
|
|
# The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT |
20 |
|
|
-$OUT = (not defined ($pop3s{MemLimit})) || ($pop3s{MemLimit} < $MIN_MEMORY_LIMIT) ? $MIN_MEMORY_LIMIT : $pop3s{MemLimit}; |
21 |
|
|
+my $limit = $pop3s{MemLimit} || $MIN_MEMORY_LIMIT; |
22 |
|
|
+$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT; |
23 |
|
|
+$OUT = "$limit"; |
24 |
|
|
} |