about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/DS.pm2
-rw-r--r--lib/PublicInbox/Hval.pm2
-rw-r--r--lib/PublicInbox/MsgTime.pm2
-rw-r--r--lib/PublicInbox/SearchIdx.pm2
-rw-r--r--lib/PublicInbox/SearchThread.pm2
-rw-r--r--lib/PublicInbox/View.pm2
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm
index 4d685131..01c8917e 100644
--- a/lib/PublicInbox/DS.pm
+++ b/lib/PublicInbox/DS.pm
@@ -615,7 +615,7 @@ sub shutdn_tls_step ($) {
 }
 
 # don't bother with shutdown($sock, 2), we don't fork+exec w/o CLOEXEC
-# or fork w/o exec, so no inadvertant socket sharing
+# or fork w/o exec, so no inadvertent socket sharing
 sub shutdn ($) {
     my ($self) = @_;
     my $sock = $self->{sock} or return;
diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm
index 23233f0e..46a83916 100644
--- a/lib/PublicInbox/Hval.pm
+++ b/lib/PublicInbox/Hval.pm
@@ -80,7 +80,7 @@ sub obfuscate_addrs ($$;$) {
         my $ibx = $_[0];
         my $repl = $_[2] // '•';
         my $re = $ibx->{-no_obfuscate_re}; # regex of domains
-        my $addrs = $ibx->{-no_obfuscate}; # { adddress => 1 }
+        my $addrs = $ibx->{-no_obfuscate}; # { $address => 1 }
         $_[1] =~ s/(([\w\.\+=\-]+)\@([\w\-]+\.[\w\.\-]+))/
                 my ($addr, $user, $domain) = ($1, $2, $3);
                 if ($addrs->{$addr} || ((defined $re && $domain =~ $re))) {
diff --git a/lib/PublicInbox/MsgTime.pm b/lib/PublicInbox/MsgTime.pm
index bd7ef811..920e8f8a 100644
--- a/lib/PublicInbox/MsgTime.pm
+++ b/lib/PublicInbox/MsgTime.pm
@@ -95,7 +95,7 @@ sub str2date_zone ($) {
                 $sign = '+' if $off == 0;
                 $zone = sprintf('%s%02d%02d', $sign, $tz_hh, $tz_mm);
 
-        # Time::Zone and Date::Parse are part of the same distibution,
+        # Time::Zone and Date::Parse are part of the same distribution,
         # and we need Time::Zone to deal with tz names like "EDT"
         } elsif (eval { require Date::Parse }) {
                 $ts = Date::Parse::str2time($date);
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index 9a5484e3..05689941 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -634,7 +634,7 @@ sub _git_log {
         my $git = $self->{git};
 
         if (index($range, '..') < 0) {
-                # don't show annoying git errrors to users who run -index
+                # don't show annoying git errors to users who run -index
                 # on empty inboxes
                 $git->qx(qw(rev-parse -q --verify), "$range^0");
                 if ($?) {
diff --git a/lib/PublicInbox/SearchThread.pm b/lib/PublicInbox/SearchThread.pm
index 8b2cb805..38d1aa6e 100644
--- a/lib/PublicInbox/SearchThread.pm
+++ b/lib/PublicInbox/SearchThread.pm
@@ -29,7 +29,7 @@ sub thread {
         # Sadly, we sort here anyways since the fill-in-the-blanks References:
         # can be shakier if somebody used In-Reply-To with multiple, disparate
         # messages.  So, take the client Date: into account since we can't
-        # alway determine ordering when somebody uses multiple In-Reply-To.
+        # always determine ordering when somebody uses multiple In-Reply-To.
         # We'll trust the client Date: header here instead of the Received:
         # time since this is for display (and not retrieval)
         _add_message($id_table, $_) for sort { $a->{ds} <=> $b->{ds} } @$msgs;
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 33b323dc..b6d7acaf 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -150,7 +150,7 @@ sub in_reply_to {
 sub fold_addresses ($) {
         return $_[0] if length($_[0]) <= COLS;
         # try to fold on commas after non-word chars before $lim chars,
-        # Try to get the "," preceeded by ">" or ")", but avoid folding
+        # Try to get the "," preceded by ">" or ")", but avoid folding
         # on the comma where somebody uses "Lastname, Firstname".
         # We also try to keep the last and penultimate addresses in
         # the list on the same line if possible, hence the extra \z