]> mj.ucw.cz Git - libucw.git/commitdiff
Stupid bug.
authorMartin Mares <mj@ucw.cz>
Fri, 10 Dec 1999 18:12:34 +0000 (18:12 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 10 Dec 1999 18:12:34 +0000 (18:12 +0000)
lib/config.h
lib/db-test.c

index 50bf986ab0b4137c3db8ac7eaedbb912b397baec..e827ec5fccdf0d3d56766b8502c770df1d15945c 100644 (file)
@@ -14,8 +14,8 @@
 /* Features */
 
 #define SHERLOCK_CONFIG_REF_WEIGHTS
-#undef SHERLOCK_CONFIG_LARGE_DB
-#undef SHERLOCK_CONFIG_LFS
+#define SHERLOCK_CONFIG_LARGE_DB
+#define SHERLOCK_CONFIG_LFS
 
 /* Types */
 
index 4ba3afd5cc2ab2dd0134fc121604788367781620..d4dc4a2f512122c4ef83a5634913a1e89680680b 100644 (file)
@@ -360,7 +360,7 @@ int main(int argc, char **argv)
              ch = o;
              perc = 100;
            }
-         cnt = atol(o);
+         cnt = atol(ch);
          if (!cnt)
            {
              cnt = num_keys;