Skip to content

Commit 340d28d

Browse files
committed
Style tweaks, remove superfluous comment.
1 parent f424b6c commit 340d28d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pcap.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4580,12 +4580,6 @@ pcap_set_parser_debug(int value)
45804580
#define PCAP_TEXT_SOURCE_ON_LOCAL_HOST "on local host"
45814581
#define PCAP_TEXT_SOURCE_ON_LOCAL_HOST_LEN (sizeof PCAP_TEXT_SOURCE_ON_LOCAL_HOST + 1)
45824582

4583-
/****************************************************
4584-
* *
4585-
* Function bodies *
4586-
* *
4587-
****************************************************/
4588-
45894583
#ifdef ENABLE_REMOTE
45904584
#define _USED_FOR_REMOTE
45914585
#else
@@ -4943,8 +4937,9 @@ pcap_open(const char *source, int snaplen, int flags, int read_timeout,
49434937
return (NULL);
49444938

49454939
switch (type) {
4940+
49464941
case PCAP_SRC_FILE:
4947-
return pcap_open_offline(name, errbuf);
4942+
return (pcap_open_offline(name, errbuf));
49484943

49494944
case PCAP_SRC_IFLOCAL:
49504945
fp = pcap_create(name, errbuf);

0 commit comments

Comments
 (0)