diff options
author | Karl Ramm <kcr@mit.edu> | 2007-07-21 00:36:34 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2007-07-21 00:36:34 +0000 |
commit | 99680e288d579c1ab3c98e96ce4d42cc17d598ce (patch) | |
tree | d2e43c06f11d407be585058166068e59908e462d /zwgc | |
parent | 15cf157d47aafe49fd59b7acc23fe172f8a23566 (diff) |
zephyr (2.1.20070719.SNAPSHOT-1) unstable; urgency=low
* new upstream, Closes: #433603
* byteswap port number for display in zwgc, Closes: #243101
* stick newline after errant error message, Closes: #242839
* wait for zhm to die when restarting. Closes: #41419
-- Karl Ramm <kcr@debian.org> Fri, 20 Jul 2007 13:23:48 -0400
Diffstat (limited to 'zwgc')
-rw-r--r-- | zwgc/notice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/notice.c b/zwgc/notice.c index e3d4cdb..4e09167 100644 --- a/zwgc/notice.c +++ b/zwgc/notice.c @@ -269,7 +269,7 @@ char *decode_notice(notice, hostname) var_set_variable("recipient", (notice->z_recipient[0] ? notice->z_recipient : "*")); var_set_variable("fullsender", notice->z_sender); - var_set_variable_to_number("port", (int)notice->z_port); + var_set_variable_to_number("port", (int)ntohs(notice->z_port)); var_set_variable_then_free_value("kind", z_kind_to_ascii(notice->z_kind)); var_set_variable_then_free_value("auth", z_auth_to_ascii(notice->z_auth)); |