From c9937bbd76f0bb1720f9715e02806a2c995347f2 Mon Sep 17 00:00:00 2001 From: Sadrul Habib Chowdhury Date: Tue, 9 Jun 2009 16:53:36 -0400 Subject: [PATCH] Mark that the binding has been initialized. --- src/script.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/script.c b/src/script.c index 4759c27..6804f69 100644 --- a/src/script.c +++ b/src/script.c @@ -91,7 +91,10 @@ ScriptSource(int argc, const char **argv) if (!bd_select || strcmp(bd_select, binding->name) == 0) { /*dynamically initialize the binding*/ if (!binding->inited) - binding->bd_Init(); + { + binding->bd_Init(); + binding->inited = 1; + } /*and source the script*/ if (ret = binding->bd_Source(script, async)) -- 2.11.4.GIT