[Kst] kdeextragear-2/kst/kst/extensions/elog
George Staikos
staikos at kde.org
Thu Oct 7 00:12:02 CEST 2004
CVS commit by staikos:
compile on, ex, mac os x
M +7 -6 elogthread.cpp 1.8
--- kdeextragear-2/kst/kst/extensions/elog/elogthread.cpp #1.7:1.8
@@ -26,22 +26,23 @@
#include <netdb.h>
#include <netinet/in.h>
+#include <signal.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <unistd.h>
-#include <signal.h>
-#include <qiodevice.h>
#include <qbuffer.h>
#include <qcstring.h>
-#include <qtextstream.h>
#include <qdatastream.h>
+#include <qiodevice.h>
+#include <qtextstream.h>
-#include <kmessagebox.h>
#include <kaction.h>
+#include <kmessagebox.h>
#include <kmdimainfrm.h>
+#include <ksockaddr.h>
#include "elogthread.h"
-#include <kstdebug.h>
#include <kst.h>
+#include <kstdebug.h>
#include <kstevents.h>
@@ -163,5 +164,5 @@ int ElogThread::makeConnection(int* psoc
if (phe != NULL) {
memcpy((char*)&(bind_addr.sin_addr), phe->h_addr, phe->h_length);
- *pstatus = connect(*psock, (sockaddr*)&bind_addr, (socklen_t)sizeof(bind_addr));
+ *pstatus = connect(*psock, (sockaddr*)&bind_addr, (ksocklen_t)sizeof(bind_addr));
if( *pstatus != 0 ) {
error = -1;
More information about the Kst
mailing list