Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv852

Modified Files:
        reportUtils.c 
Log Message:
Another bug in the printTableEntryPercentage which caused the "IP Protocol 
Distribution" page to fail. Caused by one argument too much in a format
string.

--- reportUtils.c.orig  2005-04-03 17:59:11.617393936 +0200
+++ reportUtils.c       2005-04-03 17:59:28.236867392 +0200
@@ -305,7 +305,7 @@
     } else {
       safe_snprintf(__FILE__, __LINE__, buf, bufLen, "<TR %s><TH "TH_BG" 
ALIGN=LEFT "DARK_BG">%s</TH><TD "TD_BG" ALIGN=RIGHT>%s %s</TD>"
                    "<TD "TD_BG"><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 
WIDTH=\"100%%\">"
-                   "<TR><TD ALIGN=LEFT WIDTH=\"10%%\" BGCOLOR=\"%s\">%s 
%.1f&nbsp;%% %s</TD>"
+                   "<TR><TD ALIGN=LEFT WIDTH=\"10%%\" BGCOLOR=\"%s\">%s 
%.1f&nbsp;%%</TD>"
                    "<TD><TABLE BORDER=1 CELLPADDING=1 CELLSPACING=0 
WIDTH=\"100%%\"><TR>"
                    "<TD ALIGN=CENTER WIDTH=\"%d%%\" BGCOLOR=\"%s\">&nbsp;</TD>"
                    "<TD ALIGN=CENTER WIDTH=\"%d%%\" BGCOLOR=\"%s\">&nbsp;</TD>"



_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to