diff options
-rw-r--r-- | clients/zwrite/zwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c index d668912..a88e346 100644 --- a/clients/zwrite/zwrite.c +++ b/clients/zwrite/zwrite.c @@ -58,11 +58,11 @@ main(argc,argv) auth = ZAUTH; verbose = quiet = msgarg = nrecips = nocheck = 0; - if (!(class = getenv("ZEPHYR_CLASS"))) + if (!(class = ZGetVariable("zwrite-class"))) class = DEFAULT_CLASS; - if (!(inst = getenv("ZEPHYR_INST"))) + if (!(inst = ZGetVariable("zwrite-inst"))) inst = DEFAULT_INSTANCE; - signature = getenv("ZEPHYR_SIGNATURE"); + signature = ZGetVariable("zwrite-signature"); if (signature) maxlen -= strlen(signature)+1; |