Skip to content

Commit

Permalink
Fix StreamPeerExtension::put_partial_data() to call `_put_partial_d…
Browse files Browse the repository at this point in the history
…ata()`
  • Loading branch information
dsnopek committed Dec 12, 2024
1 parent 19e003b commit 8c01fc2
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 8c01fc2

Please sign in to comment.