瀏覽代碼

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

Richard Good 11 年之前
父節點
當前提交
48bb4b562d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;