| 1 | --- imapsync 2009-07-02 20:00:27.000000000 -0500 |
| 2 | +++ imapsync 2009-07-17 02:24:22.000000000 -0500 |
| 3 | @@ -563,6 +563,9 @@ |
| 4 | |
| 5 | get_options(); |
| 6 | |
| 7 | +# allow Mail::IMAPClient 3.0.xx by default |
| 8 | +$allow3xx = defined($allow3xx) ? $allow3xx : 1; |
| 9 | + |
| 10 | check_lib_version() or |
| 11 | die "imapsync needs perl lib Mail::IMAPClient release 2.2.9, or 3.0.19 or superior \n"; |
| 12 | |
| 13 | @@ -586,9 +589,6 @@ |
| 14 | $host2 || missing_option("--host2") ; |
| 15 | $port2 ||= defined $ssl2 ? 993 : 143; |
| 16 | |
| 17 | -# allow Mail::IMAPClient 3.0.xx by default |
| 18 | -$allow3xx = defined($allow3xx) ? $allow3xx : 1; |
| 19 | - |
| 20 | sub connect_imap { |
| 21 | my($host, $port, $debugimap, $ssl) = @_; |
| 22 | my $imap = Mail::IMAPClient->new(); |