Skip to content

Commit

Permalink
Remove trailing spaces/tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
fxlb committed Aug 16, 2019
1 parent 65a4ce0 commit 3fedbf4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ if(MSVC)
message(FATAL_ERROR "Visual Studio 2015 or later is required")
endif()

#
#
# Treat source files as being in UTF-8 with MSVC if it's not using
# the Clang front end.
# We assume that UTF-8 source is OK with other compilers and with
# MSVC if it's using the Clang front end.
#
#
if(NOT ${CMAKE_C_COMPILER} MATCHES "clang*")
set(C_ADDITIONAL_FLAGS "${C_ADDITIONAL_FLAGS} /utf-8")
endif(NOT ${CMAKE_C_COMPILER} MATCHES "clang*")
Expand Down
2 changes: 1 addition & 1 deletion pcap-dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ static int pcap_dpdk_activate(pcap_t *p)
p->opt.device);
return PCAP_ERROR_NO_SUCH_DEVICE;
}

ret = dpdk_init_timer(pd);
if (ret<0)
{
Expand Down
2 changes: 1 addition & 1 deletion pcap-filter.manmisc.in
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ The following ICMP type field values are available: \fBicmp-echoreply\fP,
\fBicmp-maskreq\fP, \fBicmp-maskreply\fP.

The following ICMPv6 type fields are available: \fBicmp6-destinationrunreach\fP,
\fBicmp6-packettoobig\fP, \fBicmp6-timeexceeded\fP,
\fBicmp6-packettoobig\fP, \fBicmp6-timeexceeded\fP,
\fBicmp6-parameterproblem\fP, \fBicmp6-echo\fP,
\fBicmp6-echoreply\fP, \fBicmp6-multicastlistenerquery\fP,
\fBicmp6-multicastlistenerreportv1\fP, \fBicmp6-multicastlistenerdone\fP,
Expand Down
4 changes: 2 additions & 2 deletions pcap-haiku.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pcap_activate_haiku(pcap_t *handle)
pcap_strerror(errno) );
return PCAP_ERROR;
}

handle->bufsize = 65536;
// TODO: should be determined by interface MTU

Expand Down Expand Up @@ -248,7 +248,7 @@ pcap_create_interface(const char *device, char *errorBuffer)

handle->selectable_fd = socket;
handle->fd = socket;

handle->activate_op = pcap_activate_haiku;

return handle;
Expand Down

0 comments on commit 3fedbf4

Please sign in to comment.