Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv765
Modified Files:
report.c
Log Message:
Enlarge some work buffer in report.c. Should stop these messages from appearing
in my logs:
ntop[27789]: **ERROR** Buffer too short @ report.c:1734 (increase to at least
1071)
ntop[27789]: **ERROR** Buffer too short @ report.c:1734 (increase to at least
1053)
--- report.c.orig 2005-04-03 16:31:59.116854928 +0200
+++ report.c 2005-04-03 16:32:23.388165128 +0200
@@ -1365,7 +1365,7 @@
struct tm t;
HostTraffic *el;
HostTraffic** tmpTable;
- char buf[LEN_GENERAL_WORK_BUFFER], hostLinkBuf[LEN_GENERAL_WORK_BUFFER];
+ char buf[LEN_GENERAL_WORK_BUFFER*2], hostLinkBuf[LEN_GENERAL_WORK_BUFFER];
float sentPercent=0, rcvdPercent=0, totPercent=0;
Counter totIpBytesSent=0, totIpBytesRcvd=0, totIpBytes=0;
Counter totEthBytesSent=0, totEthBytesRcvd=0, totEthBytes=0;
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev