Branch: Tag:

1999-06-25

1999-06-25 17:58:35 by Per Hedbor <ph@opera.com>

Removed some empty newlines and some unused code

Rev: server/base_server/configuration.pike:1.200

1: - string cvs_version = "$Id: configuration.pike,v 1.199 1999/06/10 23:39:59 per Exp $"; + string cvs_version = "$Id: configuration.pike,v 1.200 1999/06/25 17:58:35 per Exp $";   #include <module.h>   #include <roxen.h>   
1982:    return ({ 0, file });    }    -  if(file->data) +  if( file->data )    {    file->file = StringFile(file->data);    m_delete(file, "data");
2947:   {    switch(name)    { -  case "Ports": -  ports_changed=1; -  return 0; +     case "MyWorldLocation":    if(strlen(value)<7 || value[-1] != '/' ||    !(sscanf(value,"%*s://%*s/")==2))
2959:   }       - // This is used to update the server-global and module variables - // between Roxen releases. It enables the poor roxen administrator to - // reuse the configuration file from a previous release. without any - // fuss. Configuration files from Roxen 1.0ß11 pre 11 and earlier - // are not differentiated, but since that release is quite old already - // when I write this, that is not really a problem.... -  -  +    #define perr(X) do { report += X; perror(X); } while(0)      // Used to hide some variables when logging is not enabled.
3048:    types_fun = 0;    }    - // if(module->type & MODULE_MAIN_PARSER) - // parse_module = 0; -  +     if(module->type & MODULE_PARSER)    remove_parse_module( me );   
3744:       setvars(retrieve("spider#0", this));   } -  -  -  -  +