From cb93428e07010584ef9b0a9dce2add5596c9a595 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sun, 22 Mar 2009 05:27:07 +0000 Subject: explicitly set the charset to unknown in zstat, zleave, and zshutdown_notify --- clients/zleave/zleave.c | 1 + clients/zshutdown_notify/zshutdown_notify.c | 1 + clients/zstat/zstat.c | 1 + 3 files changed, 3 insertions(+) (limited to 'clients') 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 *)¬ice, 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 *)¬ice, 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; -- cgit v1.2.3