summaryrefslogtreecommitdiff
path: root/Bus/Ivy/BufferedSocket.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:53:48 +0000
committerfcolin2007-02-01 12:53:48 +0000
commit3f1fdf4ac06e82a9e7e4e4a5d88f4c85b5f121d6 (patch)
treeac9e1b52c7fcfe52ef9cd4019f8ea318de2d659b /Bus/Ivy/BufferedSocket.cxx
parent1a3eb206c07e834e513a18453689efab7b9dd19a (diff)
downloadivy-cplusplus-3f1fdf4ac06e82a9e7e4e4a5d88f4c85b5f121d6.zip
ivy-cplusplus-3f1fdf4ac06e82a9e7e4e4a5d88f4c85b5f121d6.tar.gz
ivy-cplusplus-3f1fdf4ac06e82a9e7e4e4a5d88f4c85b5f121d6.tar.bz2
ivy-cplusplus-3f1fdf4ac06e82a9e7e4e4a5d88f4c85b5f121d6.tar.xz
Utilisateur : Fcolin Date : 2/06/05 Heure : 18:42 Archivé dans $/Bus/Ivy Commentaire: Suppression de la STL et ajout d'un namespace pour les datatypes internes Ivy (vss 15)
Diffstat (limited to 'Bus/Ivy/BufferedSocket.cxx')
-rw-r--r--Bus/Ivy/BufferedSocket.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bus/Ivy/BufferedSocket.cxx b/Bus/Ivy/BufferedSocket.cxx
index 5f6c994..cae2404 100644
--- a/Bus/Ivy/BufferedSocket.cxx
+++ b/Bus/Ivy/BufferedSocket.cxx
@@ -70,7 +70,7 @@ void CBufferedSocket::OnReceive(int nErrorCode)
}
current_ptr += nb;
- ASSERT( current_ptr < (buffer + buffer_size) );
+ //ASSERT( current_ptr < (buffer + buffer_size) );
ptr = buffer;
while ((ptr_sep = (char*)memchr (ptr, separator, current_ptr - ptr )))
{
@@ -102,7 +102,7 @@ void CBufferedSocket::SetSeparator( char sep )
}
void CBufferedSocket::OnSend( int nErrorCode )
{
- string msg;
+ ivy::string msg;
bool empty;
// on essaye de garder la section critique a l'interieur de la boucle
@@ -154,7 +154,7 @@ void CBufferedSocket::Send ( const char * data )
//BOOL toBeSignaled;
EnterCriticalSection( &m_CritSection );
//toBeSignaled = buf_out.IsEmpty() && connected;
- buf_out.push_back( string(data) );
+ buf_out.push_back( ivy::string(data) );
LeaveCriticalSection( &m_CritSection );
//TRACE("CBufferedSocket::Send Adding buffer to send count %d\n",buf_out.size());
// if ( connected )