projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456a4e8
)
Useless comment
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 11 May 2009 12:05:35 +0000
(14:05 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 11 May 2009 12:05:35 +0000
(14:05 +0200)
src/filter_load_balance.cpp
patch
|
blob
|
history
diff --git
a/src/filter_load_balance.cpp
b/src/filter_load_balance.cpp
index
cc2708f
..
4f9d2d2
100644
(file)
--- a/
src/filter_load_balance.cpp
+++ b/
src/filter_load_balance.cpp
@@
-328,8
+328,8
@@
void yf::LoadBalance::Impl::add_session(unsigned long session_id,
{
TargetStat stat;
stat.sessions = 1;
- stat.packages = 0; // no idea why the defaut constructor TargetStat()
- stat.deads = 0; // is not initializig this correctly to zero ??
+ stat.packages = 0;
+ stat.deads = 0;
m_target_stat.insert(std::make_pair(target, stat));
// std:.cout << "add_session " << session_id << " " << target
// << " s:1\n";