Skip to content

Commit 1100703

Browse files
authored
Update usrsctp.patch
Fixed tabs removed by pre-commit
1 parent 612f960 commit 1100703

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

cmake/modules/usrsctp.patch

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
2-
31
diff --git a/usrsctplib/netinet/sctp_output.c b/usrsctplib/netinet/sctp_output.c
42
index b8a7b46..6f9c9b9 100644
53
--- a/usrsctplib/netinet/sctp_output.c
64
+++ b/usrsctplib/netinet/sctp_output.c
75
@@ -13562,10 +13562,10 @@ sctp_lower_sosend(struct socket *so,
8-
#endif
9-
struct timeval now;
10-
struct sctp_block_entry be;
11-
- struct sctp_inpcb *inp;
12-
+ struct sctp_inpcb *inp = NULL;
13-
struct sctp_tcb *stcb = NULL;
14-
struct sctp_nets *net;
15-
- struct sctp_association *asoc;
16-
+ struct sctp_association *asoc = NULL;
17-
struct sctp_inpcb *t_inp;
18-
struct sctp_nonpad_sndrcvinfo *sndrcvninfo;
19-
ssize_t sndlen = 0, max_len, local_add_more;
6+
#endif
7+
struct timeval now;
8+
struct sctp_block_entry be;
9+
- struct sctp_inpcb *inp;
10+
+ struct sctp_inpcb *inp = NULL;
11+
struct sctp_tcb *stcb = NULL;
12+
struct sctp_nets *net;
13+
- struct sctp_association *asoc;
14+
+ 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;
2018

2119
--- a/CMakeLists.txt 2025-04-12 16:05:07.322148414 +0300
2220
+++ b/CMakeLists.txt 2025-04-12 16:07:10.601368408 +0300
@@ -29,3 +27,5 @@ index b8a7b46..6f9c9b9 100644
2927

3028
# Debug build type as default
3129
if (NOT CMAKE_BUILD_TYPE)
30+
31+

0 commit comments

Comments
 (0)