返回值修改
This commit is contained in:
@@ -93,7 +93,6 @@ struct http_count_node * find_hlist_node(uint32_t key, char *buf, uint32_t bufle
|
||||
{
|
||||
return node;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return NULL;
|
||||
@@ -155,7 +154,7 @@ uint32_t get_hash_key(void *buf, uint32_t buflen)
|
||||
return (jhash(buf, buflen, 0) % PERSIST_HASH_SIZE);
|
||||
}
|
||||
|
||||
int http_count_statistics(char *buf, uint32_t buflen)
|
||||
void http_count_statistics(char *buf, uint32_t buflen)
|
||||
{
|
||||
uint32_t key = 0;
|
||||
struct http_count_node *node = NULL;
|
||||
@@ -171,13 +170,13 @@ int http_count_statistics(char *buf, uint32_t buflen)
|
||||
add_hlist_node(key, buf, buflen);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
char http_count_entry(stSessionInfo* session_info, void **param, int thread_seq, struct streaminfo *a_tcp, void *a_packet)
|
||||
{
|
||||
if(a_tcp->dir != DOUBLE_DIRECTION)
|
||||
return 0;
|
||||
return PROT_STATE_GIVEME;
|
||||
|
||||
switch(session_info->prot_flag)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user