Skip to content
Snippets Groups Projects
Commit 372de27d authored by Martin Storsjö's avatar Martin Storsjö
Browse files

pktdumper: Use sizeof(variable) instead of the direct buffer length


Also change the snprintf size to use the full buffer, since
snprintf always null-terminates the buffer.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent ec36aa69
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment