diff options
-rw-r--r-- | lib/rpmts.c | 2 | ||||
-rw-r--r-- | lib/rpmts_internal.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index b6b5093ea..e135ccece 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -476,7 +476,7 @@ int rpmtsSetSolveCallback(rpmts ts, int rpmtsSolve(rpmts ts, rpmds key) { - int rc = 0; + int rc = 1; /* assume not found */ if (ts && ts->solve) { rc = (*ts->solve)(ts, key, ts->solveData); } diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h index 7d7b0e6b1..d73d2b055 100644 --- a/lib/rpmts_internal.h +++ b/lib/rpmts_internal.h @@ -74,6 +74,7 @@ struct rpmts_s { RPM_GNUC_INTERNAL tsMembers rpmtsMembers(rpmts ts); +/* returns -1 for retry, 0 for ignore and 1 for not found */ RPM_GNUC_INTERNAL int rpmtsSolve(rpmts ts, rpmds key); |