Uses wxSocketBase::Unread instead of CreatePushback

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia 1999-09-30 23:42:36 +00:00
parent 96db102a93
commit 5bb0807e96

View File

@ -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
}