summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-07 22:52:35 +0000
committerJeremy Allison <jra@samba.org>2003-02-07 22:52:35 +0000
commit5bc835c188a00ff2662f67301218d4e1548993b1 (patch)
tree48bf8a6079c694b8d752d53af8676d0186e46f23 /source3/client/client.c
parent5bff9ad142ed3d038fc4351d007a93b91bdab31e (diff)
downloadsamba-5bc835c188a00ff2662f67301218d4e1548993b1.tar.gz
samba-5bc835c188a00ff2662f67301218d4e1548993b1.tar.bz2
samba-5bc835c188a00ff2662f67301218d4e1548993b1.zip
Samba janitors: applying mbp's redundant umask fix.
Jeremy. (This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f7c076b79e..4761b0ae5c 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -73,8 +73,6 @@ extern BOOL tar_reset;
/* clitar bits end */
-static mode_t myumask = 0755;
-
static BOOL prompt = True;
static int printmode = 1;
@@ -2756,8 +2754,6 @@ static void remember_query_host(const char *arg,
pstrcpy(workgroup,lp_workgroup());
load_interfaces();
- myumask = umask(0);
- umask(myumask);
if (getenv("USER")) {
pstrcpy(username,getenv("USER"));