Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2002-04-15
2002-04-15 12:30:04 by Marcus Wellhardh <wellhard@roxen.com>
17e9525857c61303a369ec797930c72c85b919fc (
9
lines) (+
6
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed previous declaration error.
Rev: server/etc/modules/Roxen.pmod:1.141
1:
// This is a roxen pike module. Copyright © 1999 - 2001, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
140
2002/04/15 12:
16
:
49
wellhard Exp $
+
// $Id: Roxen.pmod,v 1.
141
2002/04/15 12:
30
:
04
wellhard Exp $
#include <roxen.h> #include <config.h>
2996:
case "unique-id": return ENCODE_RXML_TEXT(roxenp()->create_unique_id(), type);
-
case "license-type":
+
case "license-type":
{
object key = c->id->conf->getvar("license")->get_key(); return ENCODE_RXML_TEXT(key?key->type():"none", type);
-
case "license-warnings":
+
}
+
case "license-warnings":
{
object key = c->id->conf->getvar("license")->get_key(); return ENCODE_RXML_TEXT(key?sizeof(key->get_warnings()):0, type); }
-
+
}
mixed val = c->misc->scope_roxen[var]; if (zero_type(val)) return RXML.nil; if (objectp(val) && val->rxml_var_eval) return val;