Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
94baf44d
Commit
94baf44d
authored
Apr 26, 2018
by
Andreas Schmidt
Browse files
Fix Python warnings.
parent
4c234cc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
prrt/proto/processes/dataReceiver.c
View file @
94baf44d
...
...
@@ -203,7 +203,7 @@ static void handle_redundancy_packet(PrrtSocket *socket, PrrtPacket *packet) {
return
;
}
void
handle_feedback_packet
(
const
PrrtSocket
*
prrtSocket
,
const
PrrtPacket
*
prrtPacket
,
prrtTimestamp_t
receiveTime
)
{
void
handle_feedback_packet
(
PrrtSocket
*
prrtSocket
,
PrrtPacket
*
prrtPacket
,
prrtTimestamp_t
receiveTime
)
{
check
(
prrtPacket
!=
NULL
,
"Cannot be null"
);
debug
(
DEBUG_DATARECEIVER
,
"handle_feedback_packet"
);
PrrtPacketFeedbackPayload
*
feedbackPayload
=
(
PrrtPacketFeedbackPayload
*
)
prrtPacket
->
payload
;
...
...
@@ -213,7 +213,7 @@ void handle_feedback_packet(const PrrtSocket *prrtSocket, const PrrtPacket *prrt
debug
(
DEBUG_DATARECEIVER
,
"PrrtReceiver_updateAndGenerateRateSample "
);
if
(
valid_sample
)
{
PrrtChannelStateInformation_update_delivery_rate
(
prrtSocket
->
receiver
->
csi
,
prrtPacket
,
prrtSocket
->
receiver
->
rateSample
);
PrrtChannelStateInformation_update_delivery_rate
(
prrtSocket
->
receiver
->
csi
,
prrtPacket
,
prrtSocket
->
receiver
->
rateSample
->
delivery_rate
);
}
PrrtChannelStateInformation_update_app_limited
(
prrtSocket
->
receiver
->
csi
,
prrtSocket
->
receiver
->
rateSample
->
is_app_limited
);
debug
(
DEBUG_DATARECEIVER
,
"PrrtChannelStateInformation_update_app_limited "
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment