From aeeeffdd153f16777d0a526695d78ca29f1de38d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Sun, 26 Oct 1997 17:44:14 -0800 Subject: [PATCH] a little bit more debug added Rev: src/modules/call_out/call_out.c:1.16 --- src/modules/call_out/call_out.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/call_out/call_out.c b/src/modules/call_out/call_out.c index c562c29c7f..de4aa5bcc8 100644 --- a/src/modules/call_out/call_out.c +++ b/src/modules/call_out/call_out.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: call_out.c,v 1.15 1997/10/23 03:53:21 hubbe Exp $"); +RCSID("$Id: call_out.c,v 1.16 1997/10/27 01:44:14 hubbe Exp $"); #include "array.h" #include "dynamic_buffer.h" #include "object.h" @@ -184,6 +184,7 @@ static struct array * new_call_out(int num_arg,struct svalue *argp) int e,c; call_out *new,**p,**pos; + PROTECT_CALL_OUTS(); if(num_pending_calls==call_buffer_size) { /* here we need to allocate space for more pointers */ @@ -246,6 +247,7 @@ static struct array * new_call_out(int num_arg,struct svalue *argp) wake_up_backend(); #endif + UNPROTECT_CALL_OUTS(); return new->args; } -- GitLab