From 186445176c11c6d5506770e2be0e5d68d456b82d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 12 Jun 1998 15:27:59 +0000 Subject: [PATCH] Minor change. --- index/apitest.c | 8 ++++++-- zebra.dsw | 12 ++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/index/apitest.c b/index/apitest.c index d9cef32..7af42a5 100644 --- a/index/apitest.c +++ b/index/apitest.c @@ -98,7 +98,7 @@ int main (int argc, char **argv) { /* odr is a handle to memory assocated with RETURNED data from various functions */ - ODR odr = odr_createmem (ODR_ENCODE); + ODR odr; /* zh is our Zebra Handle - describes the server as a whole */ ZebraHandle zh; @@ -107,7 +107,11 @@ int main (int argc, char **argv) char *base = "Default"; int argno; - /* open Zebra */ + nmem_init (); + + odr = odr_createmem (ODR_ENCODE); + + /* open Zebra */ zh = zebra_open ("zebra.cfg"); if (!zh) { diff --git a/zebra.dsw b/zebra.dsw index a32768f..fe02fba 100644 --- a/zebra.dsw +++ b/zebra.dsw @@ -3,6 +3,18 @@ Microsoft Developer Studio Workspace File, Format Version 5.00 ############################################################################### +Project: "apitest"=.\apitest\apitest.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + Project: "zebra"=.\zebra.dsp - Package Owner=<4> Package=<5> -- 1.7.10.4