winws build fix

This commit is contained in:
bol-van 2025-04-08 17:33:14 +03:00
parent 8022e2576d
commit b12b1a5a17

View File

@ -2551,7 +2551,7 @@ int main(int argc, char **argv)
windivert_filter[sizeof(windivert_filter) - 1] = '\0'; windivert_filter[sizeof(windivert_filter) - 1] = '\0';
} }
break; break;
case IFX_WF_SAVE: case IDX_WF_SAVE:
strncpy(wf_save_file, optarg, sizeof(wf_save_file)); strncpy(wf_save_file, optarg, sizeof(wf_save_file));
wf_save_file[sizeof(wf_save_file) - 1] = '\0'; wf_save_file[sizeof(wf_save_file) - 1] = '\0';
break; break;