ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/loop.C
(Generate patch)

Comparing deliantra/server/socket/loop.C (file contents):
Revision 1.59 by root, Fri Jul 6 03:52:51 2007 UTC vs.
Revision 1.60 by root, Thu Jul 12 19:36:58 2007 UTC

176 } 176 }
177 } 177 }
178 178
179 rate_avail = max_rate - outputbuffer_len (); 179 rate_avail = max_rate - outputbuffer_len ();
180 } 180 }
181 else 181 else if (!outq) // only send when bandwidht allows it
182 { 182 {
183 int ol = outputbuffer_len (); 183 int ol = outputbuffer_len ();
184 184
185 rate_avail = min (max_rate, rate_avail + max_rate); 185 rate_avail = min (max_rate, rate_avail + max_rate);
186 rate_avail -= ol; 186 rate_avail -= ol;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines