diff options
author | Eric Wong <e@80x24.org> | 2023-03-13 19:38:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-03-14 20:51:02 +0000 |
commit | 427ee7639d9e78d1ccc56c1eb285da8d72a55716 (patch) | |
tree | 9d908c9240cc5fc79c2b73577d7316940bccadeb /lib/PublicInbox/Watch.pm | |
parent | 4e6e53f81be65deb261dad0ab7574acbd27cbc7d (diff) | |
download | public-inbox-427ee7639d9e78d1ccc56c1eb285da8d72a55716.tar.gz |
In other words, it now shows `imap://example.com/INBOX.foo UID:123' instead of: `imap://example.com/INBOX.foo UID:123'
Diffstat (limited to 'lib/PublicInbox/Watch.pm')
-rw-r--r-- | lib/PublicInbox/Watch.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Watch.pm b/lib/PublicInbox/Watch.pm index 90d82d21..d9aadf82 100644 --- a/lib/PublicInbox/Watch.pm +++ b/lib/PublicInbox/Watch.pm @@ -312,7 +312,7 @@ sub imap_fetch_all ($$) { local $SIG{__WARN__} = sub { my $pfx = ($_[0] // '') =~ /^([A-Z]: |# )/g ? $1 : ''; my $uid = $self->{cur_uid}; - $warn_cb->("$pfx$uri", $uid ? ("UID:$uid") : (), "\n", @_); + $warn_cb->("$pfx$uri", $uid ? (" UID:$uid") : (), "\n", @_); }; PublicInbox::NetReader::imap_each($self, $uri, \&net_cb, $self, $self->{imap}->{$$uri}); @@ -451,7 +451,7 @@ sub watch_nntp_fetch_all ($$) { local $SIG{__WARN__} = sub { my $pfx = ($_[0] // '') =~ /^([A-Z]: |# )/g ? $1 : ''; my $art = $self->{cur_uid}; - $warn_cb->("$pfx$uri", $art ? ("ARTICLE $art") : (), "\n", @_); + $warn_cb->("$pfx$uri", $art ? (" ARTICLE $art") : (), "\n", @_); }; for $uri (@$uris) { PublicInbox::NetReader::nntp_each($self, $uri, \&net_cb, $self, |