From 5bb0807e9624c48706a26f5784d80d3e606629cb Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Thu, 30 Sep 1999 23:42:36 +0000 Subject: [PATCH] Uses wxSocketBase::Unread instead of CreatePushback git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index c535c79258..64939970e6 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -110,7 +110,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) { result = result.Left(result.Length()-1); size = ret-tmp_str+1; - sock->CreatePushbackBefore(&tmp_buf[size], avail-size); + sock->Unread(&tmp_buf[size], avail-size); return wxPROTO_NOERR; #undef PROTO_BSIZE }