Difference for server/init.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.35 2002/11/13 05:24:53 garbled Exp $";   *   "$Id: init.c,v 1.36 2002/11/13 05:49:04 garbled Exp $";
  */   */
   
 /*  /*
Line 269
 
Line 269
      if (has_val) strcpy(settings.meta_server, cp);       if (has_val) strcpy(settings.meta_server, cp);
      else        else
  LOG(llevError,"load_settings: metaserver_server must have a value.\n");   LOG(llevError,"load_settings: metaserver_server must have a value.\n");
    } else if (!strcasecmp(buf,"motd")) {
        if (has_val)
    strcpy(settings.motd, cp);
        else
    LOG(llevError,"load_settings: motd must have a value.\n");
    } else if (!strcasecmp(buf,"dm_mail")) {
        if (has_val)
    strcpy(settings.dm_mail, cp);
        else
    LOG(llevError,"load_settings: dm_mail must have a value.\n");
  } else if (!strcasecmp(buf,"metaserver_host")) {   } else if (!strcasecmp(buf,"metaserver_host")) {
      if (has_val) strcpy(settings.meta_host, cp);       if (has_val) strcpy(settings.meta_host, cp);
      else        else
Line 484
 
Line 494
     fprintf(logfile,"Copyright (C) 1994 Mark Wedel.\n");      fprintf(logfile,"Copyright (C) 1994 Mark Wedel.\n");
     fprintf(logfile,"Copyright (C) 1992 Frank Tore Johansen.\n");      fprintf(logfile,"Copyright (C) 1992 Frank Tore Johansen.\n");
   
 #ifdef DM_MAIL      if (strcmp(settings.dm_mail, "") != 0) {
     fprintf(logfile,"Maintained locally by: %s\n",DM_MAIL);   fprintf(logfile,"Maintained locally by: %s\n", settings.dm_mail);
     fprintf(logfile,"Questions and bugs should be mailed to above address.\n");      fprintf(logfile,"Questions and bugs should be mailed to above address.\n");
 #endif      }
     SRANDOM(time(NULL));      SRANDOM(time(NULL));
   
     init_startup(); /* Write (C), check shutdown/forbid files */      init_startup(); /* Write (C), check shutdown/forbid files */
Line 711
 
Line 721
   printf("Use_swap_stats:\t<false>\n");    printf("Use_swap_stats:\t<false>\n");
 #endif  #endif
   
 #ifdef DM_MAIL  
   printf("DM mail:\t%s\n",DM_MAIL);  
 #endif  
   
 #ifdef X_EDITOR  #ifdef X_EDITOR
   printf("Editor:\t\t%s\n",X_EDITOR);    printf("Editor:\t\t%s\n",X_EDITOR);
 #endif  #endif


Legend:
line(s) removed in v.1.35 
line(s) changed
 line(s) added in v.1.36

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:34