From 359905172f6a7784bfdaa234e102cd7d6a3d6976 Mon Sep 17 00:00:00 2001 From: sangorrin Date: Tue, 2 Dec 2008 13:26:35 +0000 Subject: [PATCH] nothing git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1444 35b4ef3e-fd22-0410-ab77-dab3279adceb --- src_rtep/rtep_fna_c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src_rtep/rtep_fna_c.c b/src_rtep/rtep_fna_c.c index 8ac5ebe..7c70302 100644 --- a/src_rtep/rtep_fna_c.c +++ b/src_rtep/rtep_fna_c.c @@ -965,10 +965,10 @@ int rtep_fna_network_bytes_to_budget return -1; } - // we measure the budget in number of RTEP packets of maximum size + // we measure the budget in number of RTEP packets of maximum size number_of_packets = nbytes / MAX_RTEP_MTU + 1; - // we store the budget in number of packets instead of in time. We - // use a field in the timespec structure. + // we store the budget in number of packets instead of in time. We + // use a field in the timespec structure. budget->tv_sec = number_of_packets; DEBUG("bytes: %d -> budget: %d\n", nbytes, budget->tv_sec); return 0; -- 2.39.2