From: Guy Harris Date: Sat, 13 Nov 2021 02:30:42 +0000 (-0800) Subject: NPF: Clean up indentation. X-Git-Tag: libpcap-1.10.2~378 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/f0df874a0bce6d3adf7ccb8b6da28cb0f124e45a NPF: Clean up indentation. (cherry picked from commit c0f5bb6cdb5861828a638282dcd11caecd6f09c9) --- diff --git a/pcap-npf.c b/pcap-npf.c index 2fcd6df9..60e08228 100644 --- a/pcap-npf.c +++ b/pcap-npf.c @@ -1622,10 +1622,10 @@ pcap_create_interface(const char *device _U_, char *ebuf) * settable timestamp modes, but that would hide a bug. */ if (num_ts_modes == 0) { - snprintf(ebuf, PCAP_ERRBUF_SIZE, - "PacketGetTimestampModes() reports 0 modes supported."); - pcap_close(p); - return (NULL); + snprintf(ebuf, PCAP_ERRBUF_SIZE, + "PacketGetTimestampModes() reports 0 modes supported."); + pcap_close(p); + return (NULL); } /*