|
| 1 | +diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 2 | +index 3fc4ec6..1e09260 100644 |
| 3 | +--- a/CMakeLists.txt |
| 4 | ++++ b/CMakeLists.txt |
| 5 | +@@ -30,7 +30,7 @@ |
| 6 | + # |
| 7 | + |
| 8 | + project(usrsctplib C) |
| 9 | +-cmake_minimum_required(VERSION 3.0) |
| 10 | ++cmake_minimum_required(VERSION 3.10) |
| 11 | + |
| 12 | + # Debug build type as default |
| 13 | + if (NOT CMAKE_BUILD_TYPE) |
1 | 14 | diff --git a/usrsctplib/netinet/sctp_output.c b/usrsctplib/netinet/sctp_output.c
|
2 |
| -index b8a7b46..6f9c9b9 100644 |
| 15 | +index b8a7b46..819f975 100755 |
3 | 16 | --- a/usrsctplib/netinet/sctp_output.c
|
4 | 17 | +++ b/usrsctplib/netinet/sctp_output.c
|
5 | 18 | @@ -13562,10 +13562,10 @@ sctp_lower_sosend(struct socket *so,
|
6 |
| -#endif |
7 |
| - struct timeval now; |
8 |
| - struct sctp_block_entry be; |
| 19 | + #endif |
| 20 | + struct timeval now; |
| 21 | + struct sctp_block_entry be; |
9 | 22 | - struct sctp_inpcb *inp;
|
10 | 23 | + struct sctp_inpcb *inp = NULL;
|
11 |
| - struct sctp_tcb *stcb = NULL; |
12 |
| - struct sctp_nets *net; |
| 24 | + struct sctp_tcb *stcb = NULL; |
| 25 | + struct sctp_nets *net; |
13 | 26 | - struct sctp_association *asoc;
|
14 | 27 | + struct sctp_association *asoc = NULL;
|
15 |
| - struct sctp_inpcb *t_inp; |
16 |
| - struct sctp_nonpad_sndrcvinfo *sndrcvninfo; |
17 |
| - ssize_t sndlen = 0, max_len, local_add_more; |
18 |
| - |
19 |
| ---- a/CMakeLists.txt 2025-04-12 16:05:07.322148414 +0300 |
20 |
| -+++ b/CMakeLists.txt 2025-04-12 16:07:10.601368408 +0300 |
21 |
| -@@ -30,7 +30,7 @@ |
22 |
| - # |
23 |
| - |
24 |
| - project(usrsctplib C) |
25 |
| --cmake_minimum_required(VERSION 3.0) |
26 |
| -+cmake_minimum_required(VERSION 3.10) |
27 |
| - |
28 |
| - # Debug build type as default |
29 |
| - if (NOT CMAKE_BUILD_TYPE) |
30 |
| - |
31 |
| - |
| 28 | + struct sctp_inpcb *t_inp; |
| 29 | + struct sctp_nonpad_sndrcvinfo *sndrcvninfo; |
| 30 | + ssize_t sndlen = 0, max_len, local_add_more; |
0 commit comments