From 8c01fc22744e56c666af0d70afc20a09910d6f80 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Thu, 12 Dec 2024 08:31:12 -0600 Subject: [PATCH] Fix `StreamPeerExtension::put_partial_data()` to call `_put_partial_data()` --- core/io/stream_peer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/stream_peer.cpp b/core/io/stream_peer.cpp index 045904fb5d55..b5abf15303c9 100644 --- a/core/io/stream_peer.cpp +++ b/core/io/stream_peer.cpp @@ -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!");