Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.73 1997/08/19 00:36:13 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.74 1997/08/20 07:46:55 per Exp $";   //inherit "roxenlib";   inherit "config/draw_things";      import Array;   import Stdio;   string status_row(object node);   string display_tabular_header(object node);   object get_template(string t);      /* Work-around for Simulate.perror */
Roxen.git/server/base_server/mainconfig.pike:399:    {    allvars["ip_number_"+i] = allvars["other_"+i];    ip_number_list += ({ allvars["other_"+i] });    }    op[i][0] = (int)allvars["port_"+i]||op[i][0];    op[i][1] = allvars["protocol_"+i]||op[i][1];    op[i][2] = allvars["ip_number_"+i]||op[i][2];       if(allvars["key_"+i] || allvars["cert_"+i])    op[i][3] = -  (allvars["key_"+i]?"key-file "+allvars["key_"+i]+"\n":"")+ -  (allvars["cert_"+i]?"cert-file "+allvars["cert_"+i]+"\n":""); +  (allvars["key_"+i]&&strlen(allvars["key_"+i])? +  "key-file "+allvars["key_"+i]+"\n":"")+ +  (allvars["cert_"+i]&&strlen(allvars["cert_"+i])? +  "cert-file "+allvars["cert_"+i]+"\n":"");    } else // Delete this port.    op[i]=0;    }    return op - ({ 0 });       case TYPE_DIR_LIST:    array foo;    foo=map((var-" ")/",", lambda(string var, object node) {    if (!strlen( var ) || file_size( var ) != -2)    {