Skip to content

Commit

Permalink
Fixes #2672
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Jan 13, 2025
1 parent 8f76b91 commit 1a1fa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/reader_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->info_type = INFO_GENERIC;
flow->info[0] = 0;
if (flow->ndpi_flow->protos.slp.url_count > 0)
strncat(flow->info, "URL(s): ", sizeof(flow->info));
strncat(flow->info, "URL(s): ", sizeof(flow->info)-1);

for (i = 0; i < flow->ndpi_flow->protos.slp.url_count; ++i) {
size_t length = strlen(flow->info);
Expand Down

0 comments on commit 1a1fa63

Please sign in to comment.