diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-22 12:14:28 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-22 12:14:28 +0000 |
commit | daec6cbbeee8401ef1aa0a3424ee05a3148d7ec8 (patch) | |
tree | 818ccf249203cf2ddc3d0ecd538f406b814b60b2 /source3/lib/util.c | |
parent | c2b867038a9e4ddad987bbc6472bd9b8d42fed9d (diff) | |
download | samba-daec6cbbeee8401ef1aa0a3424ee05a3148d7ec8.tar.gz samba-daec6cbbeee8401ef1aa0a3424ee05a3148d7ec8.tar.bz2 samba-daec6cbbeee8401ef1aa0a3424ee05a3148d7ec8.zip |
Cleanups!
Make some code static, add some const to the PAM code, and make the plaintext
password code actually function - particulary without the requirement to
modify the 'struct passwd' (which it assumed was made up of fstrings)
This kills some particularly ugly code in lib/util_pw.c
Andrew Bartlett
(This used to be commit 302dad4990ba5194f072e435465d9adaa089ae06)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index e143364db5..a23ef91a31 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -118,7 +118,7 @@ BOOL in_group(gid_t group, gid_t current_gid, int ngroups, gid_t *groups) Like atoi but gets the value up to the separator character. ****************************************************************************/ -char *Atoic(char *p, int *n, char *c) +static char *Atoic(char *p, int *n, char *c) { if (!isdigit((int)*p)) { DEBUG(5, ("Atoic: malformed number\n")); |