summaryrefslogtreecommitdiff
path: root/clients/zstat
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2009-03-22 05:27:07 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2009-03-22 05:27:07 +0000
commitcb93428e07010584ef9b0a9dce2add5596c9a595 (patch)
tree24ca5ac7f74565d4bf6e911dbaaed40557b8988a /clients/zstat
parent3b59c1d4a781cd9911d1f9031f43d181fc1beacb (diff)
explicitly set the charset to unknown in zstat, zleave, and zshutdown_notify
Diffstat (limited to 'clients/zstat')
-rw-r--r--clients/zstat/zstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/zstat/zstat.c b/clients/zstat/zstat.c
index 2e0be61..944c4fc 100644
--- a/clients/zstat/zstat.c
+++ b/clients/zstat/zstat.c
@@ -237,6 +237,7 @@ srv_stat(char *host)
(void) memset((char *)&notice, 0, sizeof(notice));
notice.z_kind = UNSAFE;
notice.z_port = 0;
+ notice.z_charset = ZCHARSET_UNKNOWN;
notice.z_class = ZEPHYR_ADMIN_CLASS;
notice.z_class_inst = "";
notice.z_opcode = ADMIN_STATUS;