X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/samples/sockets/baseclient.cpp diff --git a/samples/sockets/baseclient.cpp b/samples/sockets/baseclient.cpp index b81ff9ca15..35b249c2b4 100644 --- a/samples/sockets/baseclient.cpp +++ b/samples/sockets/baseclient.cpp @@ -4,7 +4,6 @@ // Author: Lukasz Michalski // Modified by: // Created: 27.06.2005 -// RCS-ID: $Id$ // Copyright: (c) 2005 Lukasz Michalski // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -306,9 +305,9 @@ Client::OnExit() return 0; } -// Create buffer to be sent by client. Buffer contains test indicator +// Create buffer to be sent by client. Buffer contains test indicator // message size and place for data -// msgsize parameter contains size of data in bytes and +// msgsize parameter contains size of data in bytes and // if input value does not fit into 250 bytes then // on exit is updated to new value that is multiply of 1024 bytes char* @@ -318,7 +317,7 @@ Client::CreateBuffer(int* msgsize) char* buf; //if message should have more than 256 bytes then set it as //test3 for compatibility with GUI server sample - if ((*msgsize) > 250) + if ((*msgsize) > 250) { //send at least one kb of data int size = (*msgsize)/1024 + 1;