[PATCH 2/4] Use NULL instead of "offline" for the user status.
felipe.contreras at gmail.com
Sun Jun 22 16:58:44 EDT 2008
On Sun, Jun 22, 2008 at 11:44 PM, Elliott Sales de Andrade
<quantum.analyst at gmail.com> wrote:
> On Sun, Jun 22, 2008 at 11:03 AM, Felipe Contreras
> <felipe.contreras at gmail.com> wrote:
>> Initially offline users had a NULL status, so the UI wasn't updated
>> accordingly. Making this consistent makes things easier.
> So instead of changing all the offline occurences to NULL, isn't it
> just easier to set the status to "offline" for initially offline
It's easier for the computer and the programmer to just check for the
value of a pointer rather than compare two strings, isn't it?
More information about the Devel