mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* src/igc.c (is_dflt_fwd): Avoid false positives due to exthdrs.
This commit is contained in:
parent
a397513082
commit
dc94610043
1 changed files with 2 additions and 1 deletions
|
|
@ -1932,7 +1932,8 @@ static mps_addr_t
|
|||
is_dflt_fwd (mps_addr_t addr)
|
||||
{
|
||||
struct igc_fwd *f = addr;
|
||||
if (header_type (&f->header) == IGC_OBJ_FWD)
|
||||
if (header_type (&f->header) == IGC_OBJ_FWD
|
||||
&& header_tag (&f->header) == IGC_TAG_OBJ)
|
||||
return f->new_addr;
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue