Closed jdagz28 closed 11 months ago
int user_init(t_user *user, char **env) { user->username = env_get("USER=", 0, env); **user->machinename = env_get("SESSION_MANAGER=local/", ':', env);** if (!user->username || !user->machinename) { user_clear(user); return (EXIT_FAILURE); } user->lastinput = NULL; return (EXIT_SUCCESS); }
that one is empty; not in the env of 19 computers
errors:
fixed. set machinename if NULL
that one is empty; not in the env of 19 computers
errors: