mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-12-04 14:46:37 -05:00
Tabs->spaces borked userlist on most clients
This commit is contained in:
parent
4587014a86
commit
c1c7ffe721
10
src/menu.c
10
src/menu.c
@ -156,13 +156,13 @@ void userlist(state *st)
|
||||
ltime = localtime(&users[i].mtime);
|
||||
strftime(timestr, sizeof(timestr), DATE_FORMAT, ltime);
|
||||
|
||||
printf("1%-*.*s %s - \t/~%s/\t%s\t%i" CRLF,
|
||||
width, width, buf, timestr, users[i].user,
|
||||
st->server_host, st->server_port);
|
||||
printf("1%-*.*s %s - \t/~%s/\t%s\t%i" CRLF,
|
||||
width, width, buf, timestr, users[i].user,
|
||||
st->server_host, st->server_port);
|
||||
}
|
||||
else {
|
||||
printf("1%.*s\t/~%s/\t%s\t%i" CRLF, st->out_width, users[i].user,
|
||||
pwd->pw_name, st->server_host_default, st->server_port);
|
||||
printf("1%.*s\t/~%s/\t%s\t%i" CRLF, st->out_width, buf,
|
||||
users[i].user, st->server_host_default, st->server_port);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user