Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7499 - /trunk/sat-solver/src/evr.c
  • From: mlschroe@xxxxxxxxxxxxxxxx
  • Date: Fri, 12 Oct 2007 14:50:32 -0000
  • Message-id: <20071012145032.95ACE454DB@xxxxxxxxxxxxxxxx>
Author: mlschroe
Date: Fri Oct 12 16:50:32 2007
New Revision: 7499

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7499&view=rev
Log:
fix typo

Modified:
    trunk/sat-solver/src/evr.c

Modified: trunk/sat-solver/src/evr.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/evr.c?rev=7499&r1=7498&r2=7499&view=diff
==============================================================================
--- trunk/sat-solver/src/evr.c (original)
+++ trunk/sat-solver/src/evr.c Fri Oct 12 16:50:32 2007
@@ -4,6 +4,7 @@
  * version compare
  */
 
+#include <stdio.h>
 #include <string.h>
 #include "evr.h"
 #include "pool.h"
@@ -103,7 +104,7 @@
     {
       if (!pool->promoteepoch)
        {
-         while(*evr1 == '0')
+         while (*evr1 == '0')
            evr1++;
          if (*evr1 != ':')
            return 1;
@@ -112,11 +113,11 @@
     }
   else if (s2)
     {
-      while(*evr2 == '0')
+      while (*evr2 == '0')
        evr2++;
       if (*evr2 != ':')
        return -1;
-      evr2 = s1 + 1;
+      evr2 = s2 + 1;
     }
   for (s1 = evr1, r1 = 0; *s1; s1++)
     if (*s1 == '-')

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages