diff options
author | Dan Williams <dcbw@redhat.com> | 2012-01-23 10:23:37 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-01-23 10:48:28 -0600 |
commit | f90fe1906856fd708f2f62f49486f94bfacf255f (patch) | |
tree | b845d1a612ebc97d54358bbeb94b7e08b261a28f /libwmc/src/protocol.h | |
parent | 66b7ef018e983fb5f77624e2d119ded7cc24b6be (diff) |
wmc: fix init command
Actually read what struct tm contains and use it correctly,
and fix the init command struct size.
Diffstat (limited to 'libwmc/src/protocol.h')
-rw-r--r-- | libwmc/src/protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libwmc/src/protocol.h b/libwmc/src/protocol.h index 1e7df0d8..ef0314cc 100644 --- a/libwmc/src/protocol.h +++ b/libwmc/src/protocol.h @@ -64,7 +64,7 @@ struct WmcCmdInit2 { u_int16_t hours; /* big endian */ u_int16_t minutes; /* big endian */ u_int16_t seconds; /* big endian */ - u_int8_t _unknown1[2]; + u_int8_t _unknown1[3]; } __attribute__ ((packed)); typedef struct WmcCmdInit2 WmcCmdInit2; |