summaryrefslogtreecommitdiff
path: root/src/reader
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader')
-rw-r--r--src/reader/pe_read_import_header.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/reader/pe_read_import_header.c b/src/reader/pe_read_import_header.c
index ef2a4f1..3689bc4 100644
--- a/src/reader/pe_read_import_header.c
+++ b/src/reader/pe_read_import_header.c
@@ -12,14 +12,14 @@
int pe_read_import_header(const struct pe_raw_import_hdr * p, struct pe_meta_import_hdr * m)
{
- m->import_lookup_tbl_rva = pe_read_long(p->import_lookup_tbl_rva);
- m->time_date_stamp = pe_read_long(p->time_date_stamp);
- m->forwarder_chain = pe_read_long(p->forwarder_chain);
- m->name_rva = pe_read_long(p->name_rva);
- m->import_addr_tbl_rva = pe_read_long(p->import_addr_tbl_rva);
-
- m->name = 0;
- m->aitems = 0;
+ m->ih_import_lookup_tbl_rva = pe_read_long(p->ih_import_lookup_tbl_rva);
+ m->ih_time_date_stamp = pe_read_long(p->ih_time_date_stamp);
+ m->ih_forwarder_chain = pe_read_long(p->ih_forwarder_chain);
+ m->ih_name_rva = pe_read_long(p->ih_name_rva);
+ m->ih_import_addr_tbl_rva = pe_read_long(p->ih_import_addr_tbl_rva);
+
+ m->ih_name = 0;
+ m->ih_aitems = 0;
return 0;
}