Branch: Tag:

2000-03-17

2000-03-17 17:45:55 by Martin Nilsson <mani@lysator.liu.se>

Minor type fix. Replaced http_auth_faild with http_auth_required

Rev: server/base_server/configuration.pike:1.277

3:   //   // German translation by Kai Voigt    - constant cvs_version = "$Id: configuration.pike,v 1.276 2000/03/14 02:20:39 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.277 2000/03/17 17:45:55 nilsson Exp $";   constant is_configuration = 1;   #include <module.h>   #include <roxen.h>
904: Inside #if defined(MODULE_LEVEL_SECURITY)
   auth_ok |= 1; // Auth may be bad.    } else {    // No auth yet, get some. -  return http_auth_failed(seclevels[2]); +  return http_auth_required(seclevels[2]);    }    }    break;
925: Inside #if defined(MODULE_LEVEL_SECURITY)
   if (auth_ok == 1) {    // Bad authentification.    // Query for authentification. -  return http_auth_failed(seclevels[2]); +  return http_auth_required(seclevels[2]);    } else {    // No auth required, or authentification OK.    return 0;
1529:    return res;   }    - public array find_dir(string file, RequestID id) + public array(string) find_dir(string file, RequestID id)   {    string loc; -  array dir = ({ }), tmp; +  array dir = ({ }); +  array|mapping|object tmp;    array | mapping d;    TRACE_ENTER(LOCALE->list_directory(file), 0);   // file=replace(file, "//", "/");