From 63a73085d114af8744790e98eeba568714a94a8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 2 Jul 2001 13:38:01 +0200
Subject: [PATCH] Bugfix.

Rev: src/builtin.cmod:1.56
---
 src/builtin.cmod | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/builtin.cmod b/src/builtin.cmod
index 6b07a52293..cfce72711d 100644
--- a/src/builtin.cmod
+++ b/src/builtin.cmod
@@ -1,5 +1,5 @@
 /* -*- c -*-
- * $Id: builtin.cmod,v 1.55 2001/07/02 11:21:09 grubba Exp $
+ * $Id: builtin.cmod,v 1.56 2001/07/02 11:38:01 grubba Exp $
  */
 
 #include "global.h"
@@ -55,7 +55,7 @@ PIKEFUN string basetype(mixed x)
 	pop_stack();
 	return;
       } else if (IS_ZERO(Pike_sp-1)) {
-	pop_stack();
+	pop_n_elems(2);
 	push_constant_text("object");
 	return;
       } else {
-- 
GitLab