From a42dd0bd6ebcb2335895d0526653d4f21b7b8ff3 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 12 Mar 2016 23:47:39 +0100 Subject: typo --- interimap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interimap.md b/interimap.md index 9515c4a..9d55d9e 100644 --- a/interimap.md +++ b/interimap.md @@ -160,7 +160,7 @@ Options `--notify` -: Wether to use the [IMAP `NOTIFY` extension][RFC 5465] to instruct +: Whether to use the [IMAP `NOTIFY` extension][RFC 5465] to instruct the server to automatically send updates to the client. (Both local and remote servers must support [RFC 5465] for this to work.) This greatly reduces IMAP traffic since `interimap` can rely on -- cgit v1.2.3 From d5fbcc37f0298bc05cab29b38b115e3fcd08738d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 13 Mar 2016 00:01:27 +0100 Subject: interimap: Fix watch value when --watch is not set. --- interimap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interimap b/interimap index d331183..17d28c2 100755 --- a/interimap +++ b/interimap @@ -64,7 +64,7 @@ my $COMMAND = do { usage(1) if defined $COMMAND and (($COMMAND eq 'delete' and !@ARGV) or ($COMMAND eq 'rename' and $#ARGV != 1)); usage(1) if defined $COMMAND and (defined $CONFIG{watch} or defined $CONFIG{notify}); usage(1) if $CONFIG{target} and !(defined $COMMAND and ($COMMAND eq 'delete'or $COMMAND eq 'rename')); -$CONFIG{watch} = $CONFIG{notify} ? 900 : 60 unless $CONFIG{watch}; +$CONFIG{watch} = $CONFIG{notify} ? 900 : 60 if (defined $CONFIG{watch} or $CONFIG{notify}) and !$CONFIG{watch}; @ARGV = map {uc $_ eq 'INBOX' ? 'INBOX' : $_ } @ARGV; # INBOX is case-insensitive die "Invalid mailbox name $_" foreach grep !/\A([\x01-\x7F]+)\z/, @ARGV; -- cgit v1.2.3