summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-12-22 18:57:24 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-12-22 18:57:24 +0000
commita81dc120eff1eabc1b85ec2ed8c0d6f7d4cc3fd0 (patch)
treecad1953f7649518863eb290ee0e4a8dd8014c8af /zwgc
parent8021b49e91b931707a73d7935d7eb7d4b0b85bd2 (diff)
propagate consting of ZGetRealm
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/zephyr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zwgc/zephyr.c b/zwgc/zephyr.c
index f672d84..a2f9751 100644
--- a/zwgc/zephyr.c
+++ b/zwgc/zephyr.c
@@ -193,7 +193,8 @@ void zephyr_init(void (*notice_handler)(ZNotice_t *))
/*
* Set $realm to our realm and $user to our zephyr username:
*/
- var_set_variable("realm", ZGetRealm());
+ var_set_variable("realm", (char *)ZGetRealm()); /* XXX should propagate the
+ * const */
var_set_variable("user", ZGetSender());
/*