Re: [dev] Slock segfaults if USER variable is empty
Ivan Vershinin wrote:
> + user = getenv("USER");
> + if(!user)
Heyho,
I do not know how you guys think about this, but I would do that in one line:
if(!(user = getenv("USER")))
--Markus
Received on Wed Dec 18 2013 - 17:09:34 CET
This archive was generated by hypermail 2.3.0
: Wed Dec 18 2013 - 17:12:06 CET