[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Grzegorz Jaskiewicz <gj () pointblue ! com ! pl>
Date:       2005-08-28 12:36:57
Message-ID: 1125232617.137834.22895.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 454248 by gj:

compile


 M  +2 -2      msnsocket.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/msnsocket.cpp #454247:454248
@@ -301,7 +301,7 @@
 
 			if(bytes.size() == 0) {
 				// The response headers and the content came in one packet.
-				bytes.assign(buffer, avail);
+				bytes = QByteArray( buffer, avail );
 			}
 
 			// Create the web response object from the response bytes.
@@ -1047,7 +1047,7 @@
 				content[i] = bytes[offset + i];
 			// Create the web response stream from the response content bytes.
 			m_stream = new QDataStream( &content,QIODevice::ReadOnly);
-			m_stream = new .setVersion(QDataStream::Qt_3_1);
+			m_stream->setVersion(QDataStream::Qt_3_1);
 		}
 	}
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic