We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e44f26 commit 822dca9Copy full SHA for 822dca9
examples/streamdump/streamdump.c
@@ -186,7 +186,7 @@ int __cdecl main(int argc, char **argv)
186
}
187
188
// Divert all traffic to/from `port', `proxy_port' and `alt_port'.
189
- r = sprintf_s(filter, sizeof(filter),
+ r = snprintf(filter, sizeof(filter),
190
"tcp and "
191
"(tcp.DstPort == %d or tcp.DstPort == %d or tcp.DstPort == %d or "
192
"tcp.SrcPort == %d or tcp.SrcPort == %d or tcp.SrcPort == %d)",
0 commit comments