diff options
author | midipix <writeonce@midipix.org> | 2017-02-13 01:51:21 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-02-13 01:52:30 -0500 |
commit | d1416c938e3fcd9dfc759dba0a1afc1f6fd5309b (patch) | |
tree | a2fbbdfeff60fe6fc56b80af26f8cde767361c0d /src | |
parent | a6209cf77ab592472b96cec583d190c61a62259c (diff) | |
download | mdso-d1416c938e3fcd9dfc759dba0a1afc1f6fd5309b.tar.bz2 mdso-d1416c938e3fcd9dfc759dba0a1afc1f6fd5309b.tar.xz |
mdso_create_implib_archive(): properly handle multiple input units.
Diffstat (limited to 'src')
-rw-r--r-- | src/util/mdso_create_implib_archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/mdso_create_implib_archive.c b/src/util/mdso_create_implib_archive.c index 27f82e7..e5e5d01 100644 --- a/src/util/mdso_create_implib_archive.c +++ b/src/util/mdso_create_implib_archive.c @@ -59,7 +59,7 @@ int mdso_create_implib_archive(const struct mdso_driver_ctx * dctx) return MDSO_NESTED_ERROR(dctx); for (puctx=uctxv,unit=dctx->units; *unit; unit++) { - if (mdso_get_unit_ctx(dctx,*unit,puctx)) { + if (mdso_get_unit_ctx(dctx,*unit,puctx++)) { mdso_free_uctx_vector(uctxv,0,0,fout); return MDSO_NESTED_ERROR(dctx); } |