> I do not know how you guys think about this, but I would do that in one line: > > if(!(user = getenv("USER")))
I agree with you, although can be a discussion point if it is better or not something like: if ((user = getenv("USER)) != NULL) -- Roberto E. Vargas Caballero