From 38cae269e8a78a95ec5fb7f1e7f0bc4b2d468095 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Mon, 28 Sep 2020 17:27:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/tsg_rule.h | 2 +- src/tsg_rule.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/tsg_rule.h b/inc/tsg_rule.h index 4a9020e..f6db9fd 100644 --- a/inc/tsg_rule.h +++ b/inc/tsg_rule.h @@ -55,6 +55,6 @@ struct Maat_rule_t *tsg_fetch_deny_rule(Maat_rule_t *result, int result_num); int tsg_get_method_id(char *method); -int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, int *category_id, int category_id_num, void *logger, int thread_seq); +int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, unsigned int *category_id, int category_id_num, void *logger, int thread_seq); #endif diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp index e6780a9..bde65bb 100644 --- a/src/tsg_rule.cpp +++ b/src/tsg_rule.cpp @@ -1483,7 +1483,7 @@ int tsg_get_method_id(char *method) return -1; } -int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, int *category_id, int category_id_num, void *logger, int thread_seq) +int tsg_get_fqdn_category_id(Maat_feather_t maat_feather, char *fqdn, unsigned int *category_id, int category_id_num, void *logger, int thread_seq) { int i=0,ret=0; struct _fqdn_category_t *ex_data_array[8]={0};