Added SILC errno API. Added SilcResult, generic error code and
[silc.git] / lib / silcutil / tests / test_silchashtable.c
index 622fc4536647868c726adb791e0799f938224734..30e370d55b18360dac0b5b50eddc23ab7d8b9b88 100644 (file)
@@ -120,7 +120,7 @@ SilcBool alloc_table()
   SILC_LOG_DEBUG(("Allocating hash table with %d entries (%s)",
                  count, auto_rehash ? "auto rehash" : "no auto rehash"));
 
-  t = silc_hash_table_alloc(0, hash_entry, NULL,
+  t = silc_hash_table_alloc(NULL, 0, hash_entry, NULL,
                            hash_compare, NULL,
                            hash_destructor, NULL, auto_rehash);
 
@@ -214,13 +214,13 @@ int main(int argc, char **argv)
     silc_log_debug(TRUE);
     silc_log_debug_hexdump(TRUE);
     silc_log_quick(TRUE);
-    silc_log_set_debug_string("*table*");
+    silc_log_set_debug_string("*table*,*errno*");
   }
 
   if (argc > 1 && !strcmp(argv[1], "-D")) {
     silc_log_debug(TRUE);
     dump = TRUE;
-    silc_log_set_debug_string("*table*");
+    silc_log_set_debug_string("*table*,*errno*");
   }
 
   if (!alloc_table())