ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/device.C
(Generate patch)

Comparing gvpe/src/device.C (file contents):
Revision 1.8 by pcg, Tue Apr 26 00:55:56 2005 UTC vs.
Revision 1.9 by pcg, Sat Jul 9 02:35:42 2005 UTC

32 32
33void *net_packet::operator new(size_t s) 33void *net_packet::operator new(size_t s)
34{ 34{
35 if (s > sizeof (data_packet)) 35 if (s > sizeof (data_packet))
36 { 36 {
37 slog (L_ERR, _("FATAL: allocation for network packet larger than max supported packet size (%d > %d).\n"), 37 slog (L_ERR, _("FATAL: allocation for network packet larger than max supported packet size (%d > %d)."),
38 s, sizeof (data_packet)); 38 s, sizeof (data_packet));
39 abort (); 39 abort ();
40 } 40 }
41 41
42 if (pkt_cachen) 42 if (pkt_cachen)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines