-rw-r--r-- | x11/ipc/server/ocopserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/ipc/server/ocopserver.cpp b/x11/ipc/server/ocopserver.cpp index 3df574b..e76657e 100644 --- a/x11/ipc/server/ocopserver.cpp +++ b/x11/ipc/server/ocopserver.cpp | |||
@@ -367,17 +367,18 @@ void OCopServer::isRegistered( const QCString& channel, int fd) { | |||
367 | write(fd, func.data(), func.size() ); | 367 | write(fd, func.data(), func.size() ); |
368 | } | 368 | } |
369 | QValueList<int> OCopServer::clients( const QCString& channel ) { | 369 | QValueList<int> OCopServer::clients( const QCString& channel ) { |
370 | return m_channels[channel]; | 370 | return m_channels[channel]; |
371 | } | 371 | } |
372 | void OCopServer::call( const OCOPPacket& p, int fd ) { | 372 | void OCopServer::call( const OCOPPacket& p, int fd ) { |
373 | QValueList<int> cli = clients( p.channel() ); | 373 | QValueList<int> cli = clients( p.channel() ); |
374 | QValueList<int>::Iterator it; | 374 | QValueList<int>::Iterator it; |
375 | 375 | ||
376 | OCOPHead head = p.head(); | 376 | OCOPHead head = p.head(); |
377 | for (it = cli.begin(); it != cli.end(); ++it ) { | 377 | for (it = cli.begin(); it != cli.end(); ++it ) { |
378 | write( (*it), &head, sizeof(head ) ); | 378 | write( (*it), &head, sizeof(head ) ); |
379 | /* expl. shared! */ | ||
379 | write( (*it), p.channel().data(), p.channel().size() ); | 380 | write( (*it), p.channel().data(), p.channel().size() ); |
380 | write( (*it), p.header().data(), p.header().size() ); | 381 | write( (*it), p.header().data(), p.header().size() ); |
381 | write( (*it), p.content().data(), p.content().size() ); | 382 | write( (*it), p.content().data(), p.content().size() ); |
382 | }; | 383 | }; |
383 | } | 384 | } |