fmpwizard wrote:
> I thought a little more about it, and a better fix could be to modify
> getQueryLength() to check is query != NULL, and then decide to return
> strlen or 0.
>
> I like this solution better because it allows anyone to call
> getQueryLength() without having to worry about query being NULL. (And it
> works :) )
fmpwizard wrote:
> I thought a little more about it, and a better fix could be to modify
> getQueryLength() to check is query != NULL, and then decide to return
> strlen or 0.
>
> I like this solution better because it allows anyone to call
> getQueryLength() without having to worry about query being NULL. (And it
> works :) )
I think this is the right thing.