summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-07 22:52:19 +0000
committerJeremy Allison <jra@samba.org>2003-02-07 22:52:19 +0000
commit9e8fc1ee4e4dbc6361f6d4a41ab80247e760acb3 (patch)
tree92010b7a25e5e73dcc3ffadbdea855e07286fbdb /source3/client/client.c
parenta90def7e8aaa26dbda37a7835f90d64d1b0722e2 (diff)
downloadsamba-9e8fc1ee4e4dbc6361f6d4a41ab80247e760acb3.tar.gz
samba-9e8fc1ee4e4dbc6361f6d4a41ab80247e760acb3.tar.bz2
samba-9e8fc1ee4e4dbc6361f6d4a41ab80247e760acb3.zip
Samba janitors: applying mbp's redundant umask fix.
Jeremy. (This used to be commit b54f6bf06c6a4032ba0d6c2a25699948685ccf6a)
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"));