- The big forward port. I probably broke lots of stuff, so please look over any
[ircu2.10.12-pk.git] / ircd / random.c
index e85b228a363c6490b40b14d1480627b724a4f28e..7170167101551fc72357cea2d0ccfc0b2f4ffd3f 100644 (file)
@@ -82,7 +82,7 @@ memxor(void *dest, void *src, int n)
   unsigned char *d = (unsigned char *)dest;
   unsigned char *s = (unsigned char *)src;
 
-  while (--n)
+  while (n--)
     d[n] ^= s[n];
 }