diff options
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1710,7 +1710,7 @@ Pkg_compare(pkg, evr) } else if (pkg->h) _epoch = get_int(pkg->h, RPMTAG_EPOCH); else croak("undefined package"); - if (!compare) { + char *epoch, *version, *release; /* extract epoch and version from evr */ @@ -1745,7 +1745,7 @@ Pkg_compare(pkg, evr) compare = rpmvercmp(_version, version); } } - } + /* restore info string modified */ if (pkg->info) { _release[-1] = '-'; |