diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-07-31 09:58:38 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-07-31 09:58:38 -0700 |
commit | 67ac8ff216c90612122a4a4e7ed812993a13be1f (patch) | |
tree | 286a48226e7a111e0c4c377ea62af86f0eb4dc1b /tcpdump.c | |
parent | 7ebcaf603d7edc5e028195c4b360e3a857f5de3e (diff) | |
download | tcpdump-67ac8ff216c90612122a4a4e7ed812993a13be1f.tar.gz |
Clean up indentation.
Diffstat (limited to 'tcpdump.c')
-rw-r--r-- | tcpdump.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1248,9 +1248,9 @@ open_interface(const char *device, netdissect_options *ndo, char *ebuf) status = pcap_set_tstamp_precision(pc, ndo->ndo_tstamp_precision); if (status != 0) error("%s: Can't set %ssecond time stamp precision: %s", - device, - tstamp_precision_to_string(ndo->ndo_tstamp_precision), - pcap_statustostr(status)); + device, + tstamp_precision_to_string(ndo->ndo_tstamp_precision), + pcap_statustostr(status)); #endif #ifdef HAVE_PCAP_SET_IMMEDIATE_MODE @@ -1258,8 +1258,7 @@ open_interface(const char *device, netdissect_options *ndo, char *ebuf) status = pcap_set_immediate_mode(pc, 1); if (status != 0) error("%s: Can't set immediate mode: %s", - device, - pcap_statustostr(status)); + device, pcap_statustostr(status)); } #endif /* @@ -1304,11 +1303,11 @@ open_interface(const char *device, netdissect_options *ndo, char *ebuf) status = pcap_set_tstamp_type(pc, jflag); if (status < 0) error("%s: Can't set time stamp type: %s", - device, pcap_statustostr(status)); + device, pcap_statustostr(status)); else if (status > 0) warning("When trying to set timestamp type '%s' on %s: %s", - pcap_tstamp_type_val_to_name(jflag), device, - pcap_statustostr(status)); + pcap_tstamp_type_val_to_name(jflag), device, + pcap_statustostr(status)); } #endif status = pcap_activate(pc); |