the only execution patch and gcc won't rant.
Andreas
--
- Debian? - "This is our project and we can do whatever we want with it."
Michael Stone <mstone#debian.org>
diff -ru ion-devel-20030131/query/complete.c
ion-devel-20030131-bugfixes/query/complete.c
--- ion-devel-20030131/query/complete.c 2003-01-31 19:16:33.000000000 +0100
+++ ion-devel-20030131-bugfixes/query/complete.c 2003-02-19 12:04:32.000000000
++0100
@@ -21,12 +21,10 @@
int i=0;
while(1){
- if(*p1=='\0' || *p1!=*p2)
- break;
+ if(*p1=='\0' || *p2=='\0' || *p1!=*p2)
+ return i;
p1++; p2++; i++;
}
-
- return i;
}
