diff options
| author | Mosder <xmosder12@gmail.com> | 2026-07-29 23:38:30 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-07-29 23:38:30 +0200 |
| commit | 4624152ac63ca3b4cbba0998d54fb0da84daef8c (patch) | |
| tree | af9495048e2ba0927a826de5294978576bcf5be1 /analyzer/capture.c | |
| parent | a30d6feab718a887edc7eb5b0470faa77677a8c3 (diff) | |
refactor: explicitely specified c99 standard in CFLAGS
Diffstat (limited to 'analyzer/capture.c')
| -rw-r--r-- | analyzer/capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/analyzer/capture.c b/analyzer/capture.c index 9c27850..a4a9495 100644 --- a/analyzer/capture.c +++ b/analyzer/capture.c @@ -21,7 +21,7 @@ void capturing_mode(char *path) { return; } - char capture_dir[PATH_MAX], new_path[PATH_MAX], date_time[128]; + char capture_dir[PATH_MAX], new_path[PATH_MAX + 256], date_time[128]; get_capture_dir(capture_dir); get_date_time_string(date_time); sprintf(new_path, "%s/capture-%s.pcap", capture_dir, date_time); |
