Skip to content

Commit

Permalink
[acc] workaround for compiling issue
Browse files Browse the repository at this point in the history
Related to 0ff8256
We need to review this logic (of static_detector) as it looks to be broken as it is now.

(cherry picked from commit 6c0b37f)
  • Loading branch information
bogdan-iancu committed May 3, 2023
1 parent 2efff58 commit a2686d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/acc/acc_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void init_acc_extra(void)
/* ugly trick to get the address of the static buffer */
static_detector[0] = int2str( (unsigned long)3, &i) + i;
/* remember directly the static buffer returned by ip_addr2a()*/
static_detector[1] = _ip_addr_A_buff;
static_detector[1] = _ip_addr_A_buffs[0];
}


Expand Down

0 comments on commit a2686d1

Please sign in to comment.