Explorar o código

modules/rls: changed default hash size from 512 to 9 to avoid overflow

Richard Good %!s(int64=11) %!d(string=hai) anos
pai
achega
48bb4b562d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/rls/rls.c

+ 1 - 1
modules/rls/rls.c

@@ -89,7 +89,7 @@ int *rls_notifier_id = NULL;
 str db_url = str_init(DEFAULT_DB_URL);
 str xcap_db_url = str_init("");
 str rlpres_db_url = str_init("");
-int hash_size = 512;
+int hash_size = 9;
 shtable_t rls_table;
 contains_event_t pres_contains_event;
 search_event_t pres_search_event;