From 164e379efa93fae85d88968fe4ed19b9820173cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Wed, 13 May 1998 00:41:16 -0700
Subject: [PATCH] bugfix in f_master()

Rev: src/builtin_functions.c:1.106
---
 src/builtin_functions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/builtin_functions.c b/src/builtin_functions.c
index 67dbda4aaa..f3a8823f60 100644
--- a/src/builtin_functions.c
+++ b/src/builtin_functions.c
@@ -4,7 +4,7 @@
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
 #include "global.h"
-RCSID("$Id: builtin_functions.c,v 1.105 1998/05/07 23:51:00 hubbe Exp $");
+RCSID("$Id: builtin_functions.c,v 1.106 1998/05/13 07:41:16 hubbe Exp $");
 #include "interpret.h"
 #include "svalue.h"
 #include "pike_macros.h"
@@ -2438,7 +2438,7 @@ void f_replace_master(INT32 args)
 void f_master(INT32 args)
 {
   pop_n_elems(args);
-  ref_push_object(master_object);
+  ref_push_object(master());
 }
 
 #ifdef HAVE_GETHRVTIME
-- 
GitLab