diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-19 17:44:49 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-19 17:44:49 +0200 |
commit | 027333e56aeea20c486702ecfb9571ca45fd14f6 (patch) | |
tree | f05033ff39575abf4010392920caa36b58b3b734 /src/kike.c | |
parent | 43d34d2473917521376f7d56126779f941205105 (diff) | |
download | xK-027333e56aeea20c486702ecfb9571ca45fd14f6.tar.gz xK-027333e56aeea20c486702ecfb9571ca45fd14f6.tar.xz xK-027333e56aeea20c486702ecfb9571ca45fd14f6.zip |
Fix some compiler warnings
`-Weverything' seems to have found a few problems.
Also enabled clang sanitizers by default.
Diffstat (limited to 'src/kike.c')
-rw-r--r-- | src/kike.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -222,11 +222,11 @@ struct client struct str read_buffer; ///< Unprocessed input struct str write_buffer; ///< Output yet to be sent out - unsigned initialized : 1; ///< Has any data been received yet? - unsigned registered : 1; ///< The user has registered + bool initialized; ///< Has any data been received yet? + bool registered; ///< The user has registered - unsigned ssl_rx_want_tx : 1; ///< SSL_read() wants to write - unsigned ssl_tx_want_rx : 1; ///< SSL_write() wants to read + bool ssl_rx_want_tx; ///< SSL_read() wants to write + bool ssl_tx_want_rx; ///< SSL_write() wants to read SSL *ssl; ///< SSL connection char *nickname; ///< IRC nickname (main identifier) |