xpamb.c   xpamb.c 
skipping to change at line 591 skipping to change at line 591
int int
main (int argc, char **argv) main (int argc, char **argv)
#else #else
int main(argc, argv) int main(argc, argv)
int argc; int argc;
char **argv; char **argv;
#endif #endif
{ {
char *s; char *s;
/* display version and exit, if necessary */
if( (argc == 2) && !strcmp(argv[1], "--version") ){
fprintf(stderr, "%s\n", XPA_VERSION);
exit(0);
}
/* set global value for max hosts */ /* set global value for max hosts */
maxhosts=XPA_MAXHOSTS; maxhosts=XPA_MAXHOSTS;
if( (s=(char *)getenv("XPA_MAXHOSTS")) != NULL ) if( (s=(char *)getenv("XPA_MAXHOSTS")) != NULL )
maxhosts = atoi(s); maxhosts = atoi(s);
/* start up the xpa access point */ /* start up the xpa access point */
if( !(xpa=XPANew(XPAMB_CLASS, XPAMB_NAME, XPAMB_HELP, if( !(xpa=XPANew(XPAMB_CLASS, XPAMB_NAME, XPAMB_HELP,
MBSendCB, NULL, XPAMB_MODE, MBRecCB, NULL, XPAMB_MODE)) ) { MBSendCB, NULL, XPAMB_MODE, MBRecCB, NULL, XPAMB_MODE)) ) {
fprintf(stderr, "XPA$ERROR: could not create xpamb access point\n"); fprintf(stderr, "XPA$ERROR: could not create xpamb access point\n");
exit(1); exit(1);
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/