summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-22 12:14:28 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-22 12:14:28 +0000
commitdaec6cbbeee8401ef1aa0a3424ee05a3148d7ec8 (patch)
tree818ccf249203cf2ddc3d0ecd538f406b814b60b2 /source3/smbd
parentc2b867038a9e4ddad987bbc6472bd9b8d42fed9d (diff)
downloadsamba-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/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index db6caa0352..5f8f7044a6 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -53,7 +53,7 @@ int smbd_server_fd(void)
return server_fd;
}
-void smbd_set_server_fd(int fd)
+static void smbd_set_server_fd(int fd)
{
server_fd = fd;
client_setfd(fd);