summaryrefslogtreecommitdiff
path: root/source3/torture
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/torture
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/torture')
-rw-r--r--source3/torture/rpctorture.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/torture/rpctorture.c b/source3/torture/rpctorture.c
index d984ea2842..086f8d5d33 100644
--- a/source3/torture/rpctorture.c
+++ b/source3/torture/rpctorture.c
@@ -225,7 +225,6 @@ enum client_action
pstring term_code;
BOOL got_pass = False;
char *cmd_str="";
- mode_t myumask = 0755;
enum client_action cli_action = CLIENT_NONE;
int nprocs = 1;
int numops = 100;
@@ -290,9 +289,6 @@ enum client_action
setup_logging(pname, True);
- myumask = umask(0);
- umask(myumask);
-
if (!get_myname(global_myname))
{
fprintf(stderr, "Failed to get my hostname.\n");