File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 51
51
#define HEP_PROTO_SIP 0x01
52
52
53
53
static 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 ;
56
56
57
57
struct hep_message_id {
58
58
char * proto ;
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ int hep_capture_id = 1;
94
94
int payload_compression = 0 ;
95
95
int hep_max_retries = 5 ;
96
96
int 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 ;
99
99
100
100
int homer5_on = 1 ;
101
101
str homer5_delim = {":" , 0 };
@@ -195,8 +195,8 @@ struct module_exports exports = {
195
195
static int mod_init (void )
196
196
{
197
197
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 ;
200
200
} * sh_holders ;
201
201
202
202
/* check if any listeners defined for this proto */
You can’t perform that action at this time.
0 commit comments