From f996885676f041437430bfd5843a3000611b0923 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 17 Mar 1998 12:31:43 +0000 Subject: this isn't a big commit, it just looks like it :-) I needed the client_name() and client_addr() functions in swat so I could tell who was connecting from where. The problem was that these functions didn't take a file descriptor parameter they just used the global "Client". So I needed to change all calls to pass a parameter ... lots of files. (This used to be commit a776058900a727591bd7b69debdaa25c0e31d693) --- source3/web/swat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/web/swat.c') diff --git a/source3/web/swat.c b/source3/web/swat.c index a41249a9ee..7378cf682b 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -172,6 +172,7 @@ static void show_parameters(int snum, int allparameters, int advanced, int print static void write_config(FILE *f, BOOL show_defaults) { fprintf(f, "# Samba config file created using SWAT\n"); + fprintf(f, "# from %s (%s)\n", cgi_remote_host(), cgi_remote_addr()); fprintf(f, "# Date: %s\n\n", timestring()); lp_dump(f, show_defaults); -- cgit