nfqws2: copy param set bool

This commit is contained in:
bol-van committed 2026-02-01 14:32:18 +03:00
1 parent 37f0f4589f
commit 740cbfbc34
1 file changed
+1 -1
+1 -1
View File
@@ -414,7 +414,7 @@ struct desync_profile_list *dp_list_add(struct desync_profile_list_head *head)
return entry;
}
#define DP_COPY_SIMPLE(v) if (from->b_##v) to->v=from->v;
#define DP_COPY_SIMPLE(v) if (from->b_##v) {to->v=from->v; to->b_##v=true;}
bool dp_copy(struct desync_profile *to, const struct desync_profile *from)
{
DP_COPY_SIMPLE(hostlist_auto_fail_threshold)