diff options
Diffstat (limited to 'source3/torture/rpctorture.c')
-rw-r--r-- | source3/torture/rpctorture.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/rpctorture.c b/source3/torture/rpctorture.c index d8fcedd8de..64e7b580f3 100644 --- a/source3/torture/rpctorture.c +++ b/source3/torture/rpctorture.c @@ -228,6 +228,7 @@ enum client_action int nprocs = 1; int numops = 100; pstring logfile; + TALLOC_CTX *frame = talloc_stackframe(); struct client_info cli_info; @@ -292,8 +293,8 @@ enum client_action setup_logging(pname, True); - if (!get_myname(global_myname)) - { + global_myname = get_myname(global_myname); + if (!global_myname) { fprintf(stderr, "Failed to get my hostname.\n"); } |