server: fix some typo and support auto set cache size

This commit is contained in:
Nick Peng
2023-03-21 21:06:32 +08:00
parent bf68385d0e
commit 4f2867b7f4
14 changed files with 121 additions and 42 deletions

View File

@@ -28,7 +28,7 @@
#include <stdlib.h>
#include <time.h>
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C" {
#endif
@@ -180,7 +180,7 @@ int dns_cache_load(const char *file);
int dns_cache_save(const char *file);
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif
#endif // !_SMARTDNS_CACHE_H