Re: Webui BUG Admin Console with Real user
"Imposit.com - webmaster" <[email protected]>
| Newsgroups | gmane.mail.spam.dspam.devel |
|---|---|
| Message-ID | <2699085.941281092925492.JavaMail.BOFH-BOFH-PC$@bofh-bofh-PC> |
> It is used in more cases then just that:
> theia dspam # find . -type f -name "*.c" -exec grep "_ds_get_nextuser"
> "{}" ";"|wc -l
> 31
> theia dspam #
hmm ya i see
but this means that if a systemuser is delete and has still a statsentry that i can affect more than simply stats
so a better handling of this might be good
i think to solve it it should be done at while not at nextuser
user = _ds_get_nextuser (CTX);
while (user != NULL)
{
stat_user (user, totals);
user = _ds_get_nextuser (CTX);
}
maybe you can ask here if its virtual or not.
case not instead of while not null something else.
i dont know yet which "something" else would fit best for all cases
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev