summaryrefslogtreecommitdiff
path: root/clients
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
parent3b59c1d4a781cd9911d1f9031f43d181fc1beacb (diff)
explicitly set the charset to unknown in zstat, zleave, and zshutdown_notify
Diffstat (limited to 'clients')
-rw-r--r--clients/zleave/zleave.c1
-rw-r--r--clients/zshutdown_notify/zshutdown_notify.c1
-rw-r--r--clients/zstat/zstat.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/clients/zleave/zleave.c b/clients/zleave/zleave.c
index e7ce4b6..0a652a2 100644
--- a/clients/zleave/zleave.c
+++ b/clients/zleave/zleave.c
@@ -335,6 +335,7 @@ bother(long slp,
(void) memset((char *)&notice, 0, sizeof(notice));
notice.z_kind = ACKED;
notice.z_port = 0;
+ notice.z_charset = ZCHARSET_UNKNOWN;
notice.z_class = MESSAGE_CLASS;
notice.z_class_inst = INSTANCE;
notice.z_recipient = ZGetSender();
diff --git a/clients/zshutdown_notify/zshutdown_notify.c b/clients/zshutdown_notify/zshutdown_notify.c
index 4e2eaa0..067a813 100644
--- a/clients/zshutdown_notify/zshutdown_notify.c
+++ b/clients/zshutdown_notify/zshutdown_notify.c
@@ -120,6 +120,7 @@ main(int argc,
notice.z_kind = N_KIND;
notice.z_port = 0;
+ notice.z_charset = ZCHARSET_UNKNOWN;
notice.z_class = N_CLASS;
notice.z_class_inst = hostname;
notice.z_opcode = N_OPCODE;
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;