Changeset 3106054 in mainline
- Timestamp:
- 2019-10-08T00:30:29Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf9a1e2
- Parents:
- 0a201454
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/test/tqueue.c
r0a201454 r3106054 32 32 33 33 #include "../conn.h" 34 #include "../segment.h" 34 35 #include "../tqueue.h" 35 36 … … 117 118 PCUT_ASSERT_EQUALS(CTL_SYN, trans_seg[0]->ctrl); 118 119 PCUT_ASSERT_EQUALS(10, trans_seg[0]->seq); 120 tcp_segment_delete(trans_seg[0]); 119 121 } 120 122 … … 156 158 PCUT_ASSERT_EQUALS(CTL_FIN | CTL_ACK, trans_seg[0]->ctrl); 157 159 PCUT_ASSERT_EQUALS(10, trans_seg[0]->seq); 160 tcp_segment_delete(trans_seg[0]); 158 161 } 159 162 … … 198 201 PCUT_ASSERT_EQUALS(CTL_ACK, trans_seg[0]->ctrl); 199 202 PCUT_ASSERT_EQUALS(10, trans_seg[0]->seq); 203 tcp_segment_delete(trans_seg[0]); 200 204 } 201 205 … … 256 260 static void tqueue_test_transmit_seg(inet_ep2_t *epp, tcp_segment_t *seg) 257 261 { 258 trans_seg[seg_cnt++] = seg;262 trans_seg[seg_cnt++] = tcp_segment_dup(seg); 259 263 } 260 264
Note:
See TracChangeset
for help on using the changeset viewer.