Skip to content

Commit

Permalink
Fix the size
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Sep 25, 2024
1 parent ab88433 commit 3b4a15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslSniffer/sslSnifferTest/snifftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ int main(int argc, char** argv)
}
if (port > 0) {
SNPRINTF(cmdLineArg, sizeof(filter), " and port %d", port);
XSTRNCAT(filter, cmdLineArg, sizeof(filter) - XSTRLEN(filter));
XSTRNCAT(filter, cmdLineArg, sizeof(filter) - XSTRLEN(filter) - 1);
}

#if defined(WOLFSSL_SNIFFER_KEYLOGFILE)
Expand Down

0 comments on commit 3b4a15f

Please sign in to comment.