Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast-kh : unable to do master-relay
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 24, 2008 8:45 pm    Post subject: Reply with quote

I've been stuck with something else today so I'll get to check this shortly and post an update.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 24, 2008 9:44 pm    Post subject: Reply with quote

*grr, ok, I see the bug, looks like I missed a bitmask change so it affected the listing of relays. The following patch should suffice.

Code:

--- stats.c     (revision 15448)
+++ stats.c     (working copy)
@@ -1008,7 +1008,7 @@
         int ret;
         stats_source_t *source = (stats_source_t *)node->key;
 
-        if (source->hidden == 0)
+        if (source->hidden & STATS_SLAVE)
         {
             if (remaining <= strlen (source->source) + prelen + 3)
             {


I'll do a kh3 shortly.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CandyBar



Joined: 26 Aug 2007
Posts: 5

PostPosted: Sat Oct 25, 2008 3:14 am    Post subject: Reply with quote

The patch did the trick. Thank you KarlH! Smile
Back to top
View user's profile Send private message
arghbis



Joined: 10 Oct 2008
Posts: 9

PostPosted: Mon Oct 27, 2008 8:07 am    Post subject: Reply with quote

works for me too

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber