]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
fix typo caught by testcase
authorMichael Schroeder <mls@suse.de>
Mon, 19 Nov 2012 16:31:28 +0000 (17:31 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 19 Nov 2012 16:31:28 +0000 (17:31 +0100)
src/rules.c

index 9e292d730a69723414002cf5b82694d824d8c210..277f771c7d121dfb86bec7d484a3ce1d8a232205 100644 (file)
@@ -1005,7 +1005,7 @@ reenableupdaterule(Solver *solv, Id p)
   r = solv->rules + solv->updaterules + (p - solv->installed->start);
   if (r->p)
     {    
-      if (r->d > 0)
+      if (r->d < 0)
        {
          solver_enablerule(solv, r);
          IF_POOLDEBUG (SOLV_DEBUG_SOLUTIONS)