Roxen.git / server / etc / modules / Variable.pmod / module.pmod

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:1: - // $Id: module.pmod,v 1.19 2000/09/20 22:24:16 per Exp $ + // $Id: module.pmod,v 1.20 2000/09/22 14:14:09 jonasw Exp $      #include <module.h>   #include <roxen.h>      // Locale macros   static inline string getloclang() {    return roxenp()->locale->get();   }      //<locale-token project="roxen_config"> LOCALE </locale-token>
Roxen.git/server/etc/modules/Variable.pmod/module.pmod:1187:    }    if(!nofhttp) // it's a port, not a URL    {   #if constant(Crypto) && constant(Crypto.rsa) && constant(Standards) && constant(Standards.PKCS.RSA) && constant(SSL) && constant(SSL.sslfile)    /* All is A-OK */   #else    if( (protocol == "https" || protocol == "ftps") )    {    warning +=    "SSL support not available in this pike version." -  "Transformed "+protocol+" to"; +  "Transformed "+protocol+" to ";    protocol = protocol[ ..strlen(protocol)-2 ];    warning += protocol+"\n";    }   #endif    }    int pno;    if( sscanf( host, "%s:%d", host, pno ) == 2)    if( roxenp()->protocols[ lower_case( protocol ) ]    && (pno == roxenp()->protocols[ lower_case( protocol ) ]->default_port ))    warning += "Removed the "