Commit 94baf44d authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix Python warnings.

parent 4c234cc4
...@@ -203,7 +203,7 @@ static void handle_redundancy_packet(PrrtSocket *socket, PrrtPacket *packet) { ...@@ -203,7 +203,7 @@ static void handle_redundancy_packet(PrrtSocket *socket, PrrtPacket *packet) {
return; 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"); check(prrtPacket != NULL, "Cannot be null");
debug(DEBUG_DATARECEIVER, "handle_feedback_packet"); debug(DEBUG_DATARECEIVER, "handle_feedback_packet");
PrrtPacketFeedbackPayload *feedbackPayload = (PrrtPacketFeedbackPayload *) prrtPacket->payload; PrrtPacketFeedbackPayload *feedbackPayload = (PrrtPacketFeedbackPayload *) prrtPacket->payload;
...@@ -213,7 +213,7 @@ void handle_feedback_packet(const PrrtSocket *prrtSocket, const PrrtPacket *prrt ...@@ -213,7 +213,7 @@ void handle_feedback_packet(const PrrtSocket *prrtSocket, const PrrtPacket *prrt
debug(DEBUG_DATARECEIVER, "PrrtReceiver_updateAndGenerateRateSample "); debug(DEBUG_DATARECEIVER, "PrrtReceiver_updateAndGenerateRateSample ");
if(valid_sample) { 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); PrrtChannelStateInformation_update_app_limited(prrtSocket->receiver->csi, prrtSocket->receiver->rateSample->is_app_limited);
debug(DEBUG_DATARECEIVER, "PrrtChannelStateInformation_update_app_limited "); debug(DEBUG_DATARECEIVER, "PrrtChannelStateInformation_update_app_limited ");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment