add username with getenv

This commit is contained in:
Luna Mendes 2017-12-03 03:26:22 -03:00
parent 49b91fc1d9
commit 7058a7e6c1
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ int main(int argc, char **argv)
tot = join(tot, ",");
tot = join(tot, uid_str);
tot = join(tot, ",");
tot = join(tot, getenv("USER"));
printf("sending command: %s\n", tot);
// encode our data