diff -r aec062af155d -r e6639132bead src/error.h --- a/src/error.h Tue Mar 10 01:11:12 2009 +0200 +++ b/src/error.h Tue Mar 10 01:46:09 2009 +0200 @@ -74,6 +74,9 @@ /* irc_line errors */ _ERROR_CODE( ERR_LINE_TOO_LONG, 0x100101, NONE ), _ERROR_CODE( ERR_LINE_INVALID_TOKEN, 0x100102, NONE ), + + /** irc_conn errors */ + _ERROR_CODE( ERR_IRC_CONN_REGISTER_STATE, 0x100201, NONE ), // mask of bits used for the error_code value _ERROR_CODE_MASK = 0xffffff, @@ -86,8 +89,8 @@ /* The base error code */ err_t code; - /* Additional detail info, usually some third-part error code */ - unsigned int extra; + /* Additional detail info, usually some third-party error code */ + int extra; }; /*