netsniff-ng: tcp: Don't print trailing space after last TCP flag name
commit5c94119f5e03d5eb33b5b9717a4afa63522919ae
authorTobias Klauser <tklauser@distanz.ch>
Tue, 10 Nov 2015 18:25:46 +0000 (10 19:25 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 10 Nov 2015 18:25:46 +0000 (10 19:25 +0100)
treef8b9db354401076bbb7bf58b4a4763eb043ae132
parent664dcf4217c4fc08cc43c050419fea8181d81ef1
netsniff-ng: tcp: Don't print trailing space after last TCP flag name

Check whether there were flags printed before and if this is the case,
add a space before printing the next flag. Nicely wrap this all in a
macro.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_tcp.c