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.20 2000/09/22 14:14:09 jonasw Exp $ + // $Id: module.pmod,v 1.21 2000/09/22 14:17:35 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:1186:    protocol = lower_case( protocol );    }    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." +  "SSL support not available in this Pike version. "    "Transformed "+protocol+" to ";    protocol = protocol[ ..strlen(protocol)-2 ]; -  warning += protocol+"\n"; +  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 "    "default port number ("+pno+") from "+port+"\n";    else