From a2fe4eed07b3646749f5fbdffebd06f213c38385 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Wed, 18 Mar 1998 21:26:28 +0100
Subject: [PATCH] Oups. Typo.

Rev: src/builtin_functions.c:1.85
---
 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 2bba8bf73b..0a9f65d4b2 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.84 1998/03/18 20:22:30 per Exp $");
+RCSID("$Id: builtin_functions.c,v 1.85 1998/03/18 20:26:28 per Exp $");
 #include "interpret.h"
 #include "svalue.h"
 #include "pike_macros.h"
@@ -2404,7 +2404,7 @@ static void f_get_prof_info(INT32 args)
     error("get_profiling_info(): Too few arguments\n");
   }
   if (sp[-args].type == T_FUNCTION 
-      && s->subtype != FUNCTION_BUILTIN) {
+      && sp[-args].subtype != FUNCTION_BUILTIN) {
     prog = sp[-args].u.object->prog;
   } else if (sp[-args].type == T_OBJECT) {
     prog = sp[-args].u.object->prog;
-- 
GitLab