diff options
| author | Xavier Del Campo Romero <xavidcr@noreply.codeberg.org> | 2026-10-07 23:20:08 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavidcr@noreply.codeberg.org> | 2026-10-07 23:20:08 +0200 |
| commit | 188feb4abd78fd668b948e7c13934f26f775ce8a (patch) | |
| tree | 72cdcf00127f938ba6ccce020213e4453e0297b6 /usergen.c | |
| parent | 39fe36f8846f990d61c6c2dbef47d68e35096f19 (diff) | |
| parent | fe30c28e155783c4e1a3dc6e12ab6a940a746843 (diff) | |
| download | slcl-188feb4abd78fd668b948e7c13934f26f775ce8a.tar.gz | |
Merge pull request 'termux compile fix (1/2)' (#5) from fukiame/slcl:pr/termux_compile into master
Reviewed-on: https://codeberg.org/xavidcr/slcl/pulls/5
Reviewed-by: Xavier Del Campo Romero <xavidcr@noreply.codeberg.org>
Diffstat (limited to 'usergen.c')
| -rw-r--r-- | usergen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,7 +151,7 @@ static int checkuser(const char *const username, const cJSON *const c) return 0; } -static int getpass(char *const password, const size_t n) +static int ugetpass(char *const password, const size_t n) { int ret = -1; struct termios t, ne; @@ -508,7 +508,7 @@ int main(int argc, char *argv[]) if (getuser(username, sizeof username) || checkuser(username, c) - || getpass(password, sizeof password) + || ugetpass(password, sizeof password) || getquota("a) || getmethod(method, sizeof method) || !(o = createobj(c, username, hexkey, method, quota))) |
