1997-01-09
1997-01-09 20:45:55 by Anders Jackson <jaxon@Update.UU.SE>
-
1e64b62c66310cc6ab4853ebe2bba672f233d421
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 5.2
Fixed misspelling of gethostbyname. Thanks to Anders Jackson <jaxon@Update.UU.SE>.
Rev: server/base_server/roxen.pike:1.31
1:
- string cvs_version = "$Id: roxen.pike,v 1.30 1997/01/06 18:42:49 kg Exp $";
+ string cvs_version = "$Id: roxen.pike,v 1.31 1997/01/09 20:45:55 grubba Exp $";
#define IN_ROXEN
#include <module.h>
#include <variables.h>
1760: Inside #if defined(MODULE_LEVEL_SECURITY)
// ConfigurationURL is set by the 'install' script.
if(!(!l && sscanf(QUERY(ConfigurationURL), "http://%s:%*s", s)))
{
- #if efun(gethostbynme) && efun(gethostname)
+ #if efun(gethostbyname) && efun(gethostname)
f = gethostbyname(gethostname()); // First try..
if(f)
foreach(f, f) foreach(f, t) if(search(t, ".") != -1 && !(int)t)