Skip to content

Commit 6c0b37f

Browse files
committed
[acc] workaround for compiling issue
Related to 0ff8256 We need to review this logic (of static_detector) as it looks to be broken as it is now.
1 parent 0ff8256 commit 6c0b37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/acc/acc_extra.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void init_acc_extra(void)
8787
/* ugly trick to get the address of the static buffer */
8888
static_detector[0] = int2str( (unsigned long)3, &i) + i;
8989
/* remember directly the static buffer returned by ip_addr2a()*/
90-
static_detector[1] = _ip_addr_A_buff;
90+
static_detector[1] = _ip_addr_A_buffs[0];
9191
}
9292

9393

0 commit comments

Comments
 (0)