summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-06 08:56:34 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:31 -0500
commitb5c6e6b6969328711658c248d0725f543573939e (patch)
treeb4ba9239f9bb1a301fe7889a2a4e15e0df85a44b /src/output
parent85119ef1e354b05d1c8fdc7876bc83c8c1375082 (diff)
downloadperk-b5c6e6b6969328711658c248d0725f543573939e.tar.bz2
perk-b5c6e6b6969328711658c248d0725f543573939e.tar.xz
API redesign 9/10: struct pe_image_summary: elegance.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/pe_output_import_libraries.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/pe_output_import_libraries.c b/src/output/pe_output_import_libraries.c
index 9a83780..be46d1f 100644
--- a/src/output/pe_output_import_libraries.c
+++ b/src/output/pe_output_import_libraries.c
@@ -43,7 +43,7 @@ int pe_output_import_libraries(
FILE * ftmp;
int i,j;
- if (!m->summary.num_of_implibs)
+ if (!m->summary.nimplibs)
return 0;
if (!(fout = pe_output_prolog(cctx,fout,&ftmp)))
@@ -52,7 +52,7 @@ int pe_output_import_libraries(
if ((pretty_header(cctx,fout)) < 0)
return pe_output_epilog(-1,ftmp);
- for (i=0; i<m->summary.num_of_implibs; i++) {
+ for (i=0; i<m->summary.nimplibs; i++) {
if ((pretty_implib_header(cctx,m->idata[i].name,fout)) < 0)
return pe_output_epilog(-1,ftmp);