]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
Merge remote-tracking branch 'origin/master' into repobrowse
authorEric Wong <e@80x24.org>
Sun, 8 Jan 2017 04:25:51 +0000 (04:25 +0000)
committerEric Wong <e@80x24.org>
Sun, 8 Jan 2017 04:25:51 +0000 (04:25 +0000)
* origin/master:
  inbox: properly register cleanup timer for git processes
  search: remove subject_summary
  searchmsg: favor direct hash access over accessor methods
  remove incorrect comment about strftime + locales
  config: allow per-inbox nntpserver
  inbox: eliminate weaken usage entirely
  inbox: describe the full key name
  config: remove unused get() method
  config: always use namespaced "publicinboxlimiter"
  qspawn: prepare to support runtime reloading of Limiter
  http: remove weaken usage, reduce anonsub capture scope
  httpd/async: remove weaken usage
  http: fix spelling error
  watch: watchspam affects all configured inboxes
  doc: minor updates to design notes

1  2 
lib/PublicInbox/Inbox.pm
lib/PublicInbox/Qspawn.pm

index 15db929e5109491cb5806ee84e1dc5566be815a8,51ada0bc390458df9a992ff77ca934097293db60..1a844e1cb48b4f474dace003d6c234b4682f50c5
@@@ -226,9 -212,10 +212,10 @@@ sub msg_by_smsg ($$) 
  
        # backwards compat to fallback to msg_by_mid
        # TODO: remove if we bump SCHEMA_VERSION in Search.pm:
-       defined(my $blob = $smsg->blob) or return msg_by_mid($self, $smsg->mid);
+       defined(my $blob = $smsg->{blob}) or
+                       return msg_by_mid($self, $smsg->mid);
  
 -      my $str = git($self)->cat_file($blob, $ref);
 +      my $str = git($self)->cat_file($blob);
        $$str =~ s/\A[\r\n]*From [^\r\n]*\r?\n//s if $str;
        $str;
  }
Simple merge