1997-11-09
1997-11-09 18:23:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
3510fb70b3e1b301a644c9a5123c6d26edc157ed
(15 lines)
(+13/-2)
[
Show
| Annotate
]
Branch: 5.2
try_get_file() now returns 0 if the gotten file has an error-code set.
Rev: server/base_server/configuration.pike:1.85
1:
- string cvs_version = "$Id: configuration.pike,v 1.84 1997/10/25 05:28:39 per Exp $";
+ string cvs_version = "$Id: configuration.pike,v 1.85 1997/11/09 18:23:37 grubba Exp $";
#include <module.h>
#include <roxen.h>
/* A configuration.. */
1311: Inside #if defined(URL_MODULES)
if(mappingp( tmp ))
{
id->not_query=of;
+ #ifdef MODULE_DEBUG
+ roxen_perror(sprintf("conf->find_dir_stat(\"%s\"): url_module returned mapping:%O\n",
+ file, tmp));
+ #endif /* MODULE_DEBUG */
return 0;
}
if(objectp( tmp ))
1329: Inside #if defined(URL_MODULES)
nest = 0;
if(err)
throw(err);
+ #ifdef MODULE_DEBUG
+ roxen_perror(sprintf("conf->find_dir_stat(\"%s\"): url_module returned object:\n",
+ file));
+ #endif /* MODULE_DEBUG */
return tmp;
}
id->not_query=of;
1472:
}
fake_id->end();
+ if (!(< 0, 200, 201, 202, 203 >)[m->error]) return 0;
+
if(status) return 1;
#ifdef COMPAT