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

Comparing gvpe/src/conf.C (file contents):
Revision 1.10 by pcg, Wed Apr 2 21:02:25 2003 UTC vs.
Revision 1.11 by pcg, Wed Apr 2 21:43:44 2003 UTC

313 parse_bool (node->compress, "compress", true, false); 313 parse_bool (node->compress, "compress", true, false);
314 } 314 }
315 // all these bool options really really cost a lot of executable size! 315 // all these bool options really really cost a lot of executable size!
316 else if (!strcmp (var, "enable-tcp")) 316 else if (!strcmp (var, "enable-tcp"))
317 { 317 {
318#if ENABLE_TCP
318 u8 v; parse_bool (v, "enable-tcp" , PROT_TCPv4, 0); node->protocols = (node->protocols & ~PROT_TCPv4) | v; 319 u8 v; parse_bool (v, "enable-tcp" , PROT_TCPv4, 0); node->protocols = (node->protocols & ~PROT_TCPv4) | v;
320#endif
319 } 321 }
320 else if (!strcmp (var, "enable-udp")) 322 else if (!strcmp (var, "enable-udp"))
321 { 323 {
322 u8 v; parse_bool (v, "enable-udp" , PROT_UDPv4, 0); node->protocols = (node->protocols & ~PROT_UDPv4) | v; 324 u8 v; parse_bool (v, "enable-udp" , PROT_UDPv4, 0); node->protocols = (node->protocols & ~PROT_UDPv4) | v;
323 } 325 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines