File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151#define HEP_PROTO_SIP 0x01
5252
5353static int control_id = -1 ;
54- atomic_ulong * hep_failed_retries ;
55- atomic_ulong * hep_last_attempt ;
54+ atomic_t * hep_failed_retries ;
55+ atomic_t * hep_last_attempt ;
5656
5757struct hep_message_id {
5858 char * proto ;
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ int hep_capture_id = 1;
9494int payload_compression = 0 ;
9595int hep_max_retries = 5 ;
9696int hep_retry_cooldown = 3600 ; //seconds
97- extern atomic_ulong * hep_failed_retries ;
98- extern atomic_ulong * hep_last_attempt ;
97+ extern atomic_t * hep_failed_retries ;
98+ extern atomic_t * hep_last_attempt ;
9999
100100int homer5_on = 1 ;
101101str homer5_delim = {":" , 0 };
@@ -195,8 +195,8 @@ struct module_exports exports = {
195195static int mod_init (void )
196196{
197197 struct {
198- atomic_ulong hep_failed_retries ;
199- atomic_ulong hep_last_attempt ;
198+ atomic_t hep_failed_retries ;
199+ atomic_t hep_last_attempt ;
200200 } * sh_holders ;
201201
202202 /* check if any listeners defined for this proto */
You can’t perform that action at this time.
0 commit comments