cleanup
This commit is contained in:
parent
4313a76f97
commit
947a3f7579
|
|
@ -38,6 +38,9 @@ http {
|
|||
|
||||
# set xdb file path
|
||||
ip2region_db ip2region.xdb;
|
||||
# ip2region_db ip2region.xdb vectorIndex;
|
||||
# ip2region_db ip2region.xdb file;
|
||||
# ip2region_db ip2region.xdb content;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include "xdb_searcher.h"
|
||||
|
||||
// internal function prototype define
|
||||
static inline int read(xdb_searcher_t *, long offset, char *, size_t length);
|
||||
static int read(xdb_searcher_t *, long offset, char *, size_t length);
|
||||
|
||||
static inline int xdb_new_base(xdb_searcher_t *xdb, const char *db_path, const xdb_vector_index_t *v_index, const xdb_content_t *c_buffer) {
|
||||
memset(xdb, 0x00, sizeof(xdb_searcher_t));
|
||||
|
|
|
|||
Loading…
Reference in New Issue