Commit 1b0f4420c3402782fd6346351e300952d93fdd7d
1 parent
ad362fc1
Remove blank line from previous commit
Showing
1 changed file
with
3 additions
and
2 deletions
src/modbus-tcp.c
| @@ -218,7 +218,8 @@ static int _modbus_tcp_set_ipv4_options(int s) | @@ -218,7 +218,8 @@ static int _modbus_tcp_set_ipv4_options(int s) | ||
| 218 | return -1; | 218 | return -1; |
| 219 | } | 219 | } |
| 220 | 220 | ||
| 221 | - /* If the OS does not offer SOCK_NONBLOCK, fall back to setting FIONBIO to make sockets non-blocking */ | 221 | + /* If the OS does not offer SOCK_NONBLOCK, fall back to setting FIONBIO to |
| 222 | + * make sockets non-blocking */ | ||
| 222 | /* Do not care about the return value, this is optional */ | 223 | /* Do not care about the return value, this is optional */ |
| 223 | #if !defined(SOCK_NONBLOCK) && defined(FIONBIO) | 224 | #if !defined(SOCK_NONBLOCK) && defined(FIONBIO) |
| 224 | #ifdef OS_WIN32 | 225 | #ifdef OS_WIN32 |
| @@ -230,7 +231,7 @@ static int _modbus_tcp_set_ipv4_options(int s) | @@ -230,7 +231,7 @@ static int _modbus_tcp_set_ipv4_options(int s) | ||
| 230 | ioctl(s, FIONBIO, &option); | 231 | ioctl(s, FIONBIO, &option); |
| 231 | #endif | 232 | #endif |
| 232 | #endif | 233 | #endif |
| 233 | - | 234 | + |
| 234 | #ifndef OS_WIN32 | 235 | #ifndef OS_WIN32 |
| 235 | /** | 236 | /** |
| 236 | * Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's | 237 | * Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's |