Tatsuo Ishii wrote:
> ! if (!PortalIsValid(portal) || (PortalIsValid(portal) && portal->cleanup == NULL))
>
>
Surely the second call to PortalIsValid() is redundant.
if (( !PortalIsValid(portal)) || portal->cleanup == NULL)
should do it, no?
cheers
andrew