Project "Tuxbox-GIT: apps":

The branch, master has been updated
       via  6c4303efe0bad86e1d152d2181ec12b8bb428034 (commit)
      from  4131910966d8e6bd33ba92b7d7db179ba2e088b9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6c4303efe0bad86e1d152d2181ec12b8bb428034
Author: GetAway <get-a...@t-online.de>
Date:   Wed Mar 20 22:50:20 2013 +0100

    sectionsd: increase size of returned NextEvent text
    
    this is need to watch NextEvent in channellist infobox
    when using small font zoom factor; old was 50 chars
    
    Signed-off-by: Thilo Graf <d...@novatux.de>

diff --git a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp 
b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
index 633994e..0e2cdf2 100644
--- a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
+++ b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
@@ -1,5 +1,5 @@
 //
-//  $Id: sectionsd.cpp,v 1.345 2013/03/07 19:30:00 GetAway Exp Exp $
+//  $Id: sectionsd.cpp,v 1.346 2013/03/20 22:40:00 GetAway Exp $
 //
 //    sectionsd.cpp (network daemon for SI-sections)
 //    (dbox-II-project)
@@ -2476,7 +2476,7 @@ static void sendAllEvents(int connfd, t_channel_id 
serviceUniqueKey, bool oldFor
                                                        count += 
sizeof(event_id_t) + 4 + 4 + (*e)->getName().length() + 1;
                                                        if 
(((*e)->getText()).empty())
                                                        {
-                                                               count += 
(*e)->getExtendedText().substr(0, 50).length();
+                                                               count += 
(*e)->getExtendedText().substr(0, 95).length();
                                                        }
                                                        else
                                                        {
@@ -2497,7 +2497,7 @@ static void sendAllEvents(int connfd, t_channel_id 
serviceUniqueKey, bool oldFor
        
                                                                if 
(((*e)->getText()).empty())
                                                                {
-                                                                       
strcpy(liste, (*e)->getExtendedText().substr(0, 50).c_str());
+                                                                       
strcpy(liste, (*e)->getExtendedText().substr(0, 95).c_str());
                                                                        liste 
+= strlen(liste);
                                                                }
                                                                else
@@ -2606,7 +2606,7 @@ static void commandDumpStatusInformation(int connfd, 
char* /*data*/, const unsig
        char stati[MAX_SIZE_STATI];
 
        snprintf(stati, MAX_SIZE_STATI,
-               "$Id: sectionsd.cpp,v 1.345 2013/03/07 19:30:00 GetAway Exp $\n"
+               "$Id: sectionsd.cpp,v 1.346 2013/03/20 22:40:00 GetAway Exp $\n"
                "%sCurrent time: %s"
                "Hours to cache: %ld\n"
                "Hours to cache extended text: %ld\n"
@@ -8590,7 +8590,7 @@ int main(int argc, char **argv)
        
        struct sched_param parm;
 
-       printf("$Id: sectionsd.cpp,v 1.345 2013/03/07 19:30:00 GetAway Exp 
$\n");
+       printf("$Id: sectionsd.cpp,v 1.346 2013/03/20 22:40:00 GetAway Exp 
$\n");
 #ifdef ENABLE_FREESATEPG
        printf("[sectionsd] FreeSat enabled\n");
 #endif

-----------------------------------------------------------------------

Summary of changes:
 tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


-- 
Tuxbox-GIT: apps

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Tuxbox-cvs-commits mailing list
Tuxbox-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tuxbox-cvs-commits

Reply via email to