I got it working partly. With this patch (yes, stdlib include I put for gcc 
4.x here) it works if USE_SCHEDULER is set to an valid ip address.

It seems there are some changes in iceccd which cause our problem. The icemon 
does not got the ip address of the scheduler. If given I can force to check 
this ip and it returns the clients.

With this patch it works fine here if I set the environment variable or 
call 'USE_SCHEDULER=x.x.x.x icemon'

Best regards

Linux User Group Wernigerode
--- icecc-monitor-1.1.orig/icemon-kde3/src/monitor.cc	2006-08-11 10:10:30.000000000 +0200
+++ /home/crissi/download2/icemon-kde3/icemon-kde3/src/monitor.cc	2009-03-03 10:52:59.000000000 +0100
@@ -30,7 +30,7 @@
 #include <klocale.h>
 #include <kdebug.h>
 #include <iostream>
+#include <stdlib.h>
 #include <qsocketnotifier.h>
 #include <qtimer.h>
@@ -98,7 +98,9 @@
         if (!m_discover
             || m_discover->timed_out()) {
             delete m_discover;
-            m_discover = new DiscoverSched ( m_current_netname.latin1() );
+						m_current_netname=""; // m_current_netname.latin1()
+            m_discover = new DiscoverSched ( "" );
+						m_discover->try_get_scheduler();
             m_discover_read = new QSocketNotifier( m_discover->get_fd(),
                                                    this );

Attachment: signature.asc
Description: This is a digitally signed message part.

pkg-kde-extras mailing list

Reply via email to