# HG changeset patch # User Elliott Sales de Andrade # Date 1291267310 0 # Node ID fc6ecc8f1b34a333e56719fb46ef5b91204a066c # Parent 1ab50afb79255e207ab6aaadfdb3df4e90e5acde I think we can save some memory by making these booleans into a single bitfield variable. diff -r 1ab50afb7925 -r fc6ecc8f1b34 libpurple/protocols/msn/session.h --- a/libpurple/protocols/msn/session.h Thu Dec 02 05:16:27 2010 +0000 +++ b/libpurple/protocols/msn/session.h Thu Dec 02 05:21:50 2010 +0000 @@ -79,12 +79,12 @@ MsnLoginStep login_step; /**< The current step in the login process. */ - gboolean connected; - gboolean logged_in; /**< A temporal flag to ignore local buddy list adds. */ + gboolean connected:1; + gboolean logged_in:1; /**< A temporal flag to ignore local buddy list adds. */ + gboolean destroying:1; /**< A flag that states if the session is being destroyed. */ + gboolean http_method:1; int adl_fqy; /**< A count of ADL/FQY so status is only changed once. */ guint login_timeout; /**< Timeout to force status change if ADL/FQY fail. */ - gboolean destroying; /**< A flag that states if the session is being destroyed. */ - gboolean http_method; MsnNotification *notification; MsnNexus *nexus;