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.55 by root, Sun Jul 1 05:00:20 2007 UTC vs.
Revision 1.56 by root, Sun Jul 1 05:47:00 2007 UTC

224 } 224 }
225 } 225 }
226 else 226 else
227 ix.ofs = 0; 227 ix.ofs = 0;
228 228
229 int consumed = ol - outputbuffer_len (); 229 int consumed = outputbuffer_len () - ol;
230 230
231 avail -= consumed; 231 avail -= consumed;
232 rate_avail -= consumed; 232 rate_avail -= consumed;
233 233
234 ol = outputbuffer_len (); 234 ol = outputbuffer_len ();
235 235
236 if (!ix.ofs) 236 if (!ix.ofs)
237 { 237 {
238 ixface.pop_back (); 238 ixface.pop_back ();
239
239 if (ixface.empty ()) 240 if (ixface.empty ())
240 break; 241 break;
241 } 242 }
242 } 243 }
243 } 244 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines