Branch: Tag:

2000-08-15

2000-08-15 12:54:04 by Johan Sundström <oyasumi@gmail.com>

Almost improved clarity somewhat.

Rev: server/base_server/roxen.pike:1.521

4:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.      // ABS and suicide systems contributed freely by Francesco Chemolli - constant cvs_version="$Id: roxen.pike,v 1.520 2000/08/14 22:50:52 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.521 2000/08/15 12:54:04 jhs Exp $";      // Used when running threaded to find out which thread is the backend thread,   // for debug purposes only.
1595:    sort( map( map( sorted_urls, strlen ), `-), sorted_urls );   }    - int register_url( string url, object conf ) + int register_url( string url, object/*(Configuration)*/ conf )   {    url = lower_case( url );    if (!sizeof (url - " " - "\t")) return 1;
1739:   }       - object find_configuration( string name ) + object/*(Configuration)*/ find_configuration( string name )   {    name = replace( lower_case( replace(name,"-"," ") )-" ", "/", "-" ); -  foreach( configurations, object o ) +  foreach( configurations, object/*(Configuration)*/ o )    {    if( (lower_case( replace( replace(o->name, "-"," ") - " " ,    "/", "-" ) ) == name) ||
3086:    return config_lookup[name];   }    - object enable_configuration(string name) + object/*(Configuration)*/ enable_configuration(string name)   {   #ifdef DEBUG    if (get_configuration (name))