diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-07 15:35:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:28 -0500 |
commit | 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7 (patch) | |
tree | 2a521faed6215ea5bfb68d155f0c9580aac01315 /source/client | |
parent | 08bb1ef643ab906f1645cf6f32763dc73b1884e4 (diff) | |
download | samba-0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7.tar.gz |
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/client.c | 6 | ||||
-rw-r--r-- | source/client/smbmount.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/client/client.c b/source/client/client.c index 1fdbec4bfd0..0a3cb21752a 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -3045,10 +3045,10 @@ static struct smbclient_context *do_connect(TALLOC_CTX *mem_ctx, /**************************************************************************** handle a -L query ****************************************************************************/ -static int do_host_query(const char *query_host) +static int do_host_query(const char *query_host, const char *workgroup) { browse_host(query_host); - list_servers(lp_workgroup()); + list_servers(workgroup); return(0); } @@ -3209,7 +3209,7 @@ static int do_message_op(const char *desthost, const char *destip, int name_type } if (query_host) { - return do_host_query(query_host); + return do_host_query(query_host, lp_workgroup()); } if (message) { diff --git a/source/client/smbmount.c b/source/client/smbmount.c index f15b1f7030e..7bd42b84cff 100644 --- a/source/client/smbmount.c +++ b/source/client/smbmount.c @@ -911,7 +911,7 @@ static void parse_mount_smb(int argc, char **argv) DEBUG(3,("mount.smbfs started (version %s)\n", VERSION)); if (*workgroup == 0) { - pstrcpy(workgroup,lp_workgroup()); + pstrcpy(workgroup, lp_workgroup()); } if (!*my_netbios_name) { |