Skip to content

Commit

Permalink
Merge pull request #100318 from dsnopek/stream-peer-extension-put-par…
Browse files Browse the repository at this point in the history
…tial-data-bug

Fix `StreamPeerExtension::put_partial_data()` to call `_put_partial_data()`
  • Loading branch information
Repiteo committed Dec 12, 2024
2 parents c34a3f1 + 8c01fc2 commit ba2c5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/stream_peer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ Error StreamPeerExtension::put_data(const uint8_t *p_data, int p_bytes) {

Error StreamPeerExtension::put_partial_data(const uint8_t *p_data, int p_bytes, int &r_sent) {
Error err;
if (GDVIRTUAL_CALL(_put_data, p_data, p_bytes, &r_sent, err)) {
if (GDVIRTUAL_CALL(_put_partial_data, p_data, p_bytes, &r_sent, err)) {
return err;
}
WARN_PRINT_ONCE("StreamPeerExtension::_put_partial_data is unimplemented!");
Expand Down

0 comments on commit ba2c5c1

Please sign in to comment.