Added missed change in previous commit

This commit is contained in:
Manoj Ampalam 2017-06-11 23:37:36 -07:00
parent 5bea3a3759
commit 4a1980e059

View File

@ -51,7 +51,7 @@ get_user_root(struct agent_connection* con, HKEY *root)
*root = HKEY_LOCAL_MACHINE; *root = HKEY_LOCAL_MACHINE;
if (con->client_type <= ADMIN_USER) { if (con->client_type <= ADMIN_USER) {
if (ImpersonateLoggedOnUser(con->client_impersonation_token == FALSE)) if (ImpersonateLoggedOnUser(con->client_impersonation_token) == FALSE)
return -1; return -1;
*root = NULL; *root = NULL;
/* /*