summaryrefslogtreecommitdiff
path: root/x11/ipc/server/ocopserver.cpp
Side-by-side diff
Diffstat (limited to 'x11/ipc/server/ocopserver.cpp') (more/less context) (show whitespace changes)
-rw-r--r--x11/ipc/server/ocopserver.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/ipc/server/ocopserver.cpp b/x11/ipc/server/ocopserver.cpp
index e76657e..421e49c 100644
--- a/x11/ipc/server/ocopserver.cpp
+++ b/x11/ipc/server/ocopserver.cpp
@@ -136,4 +136,2 @@ int OCopServer::accept() {
void OCopServer::newOnClient( int fd ) {
- int bug[4096];
- //qWarning("new stuff for client on fd %d", fd );
errno = 0;
@@ -155,3 +153,3 @@ void OCopServer::newOnClient( int fd ) {
*/
- qWarning("data %s %d", bug, rea );
+ //qWarning("data %s %d", &bug, rea );
@@ -176,2 +174,3 @@ void OCopServer::newOnClient( int fd ) {
*/
+ qWarning("read ");
int s = read(fd, channel.data(), head.chlen );
@@ -179,2 +178,3 @@ void OCopServer::newOnClient( int fd ) {
s = read(fd, data.data(), head.datalen );
+ qWarning("read");
@@ -287,2 +287,3 @@ void OCopServer::dispatch( const OCOPPacket& packet, int sourceFD ) {
case OCOPPacket::IsRegistered:
+ qWarning("IsRegistered");
isRegistered( packet.channel(), sourceFD );
@@ -342,2 +343,3 @@ void OCopServer::delChannel( const QCString& channel,
void OCopServer::isRegistered( const QCString& channel, int fd) {
+ qWarning("isRegistered");
OCOPHead head;
@@ -371,3 +373,3 @@ QValueList<int> OCopServer::clients( const QCString& channel ) {
}
-void OCopServer::call( const OCOPPacket& p, int fd ) {
+void OCopServer::call( const OCOPPacket& p, int ) {
QValueList<int> cli = clients( p.channel() );