fix compiler warning in write_pcap_packet()

if we don't evaluate the result of write(), there's no point in
storing the result in a variable.
1 file changed