projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7786ecc
)
Dont use nmem_init, nmem_exit
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 Apr 2007 11:37:39 +0000
(11:37 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 Apr 2007 11:37:39 +0000
(11:37 +0000)
test/api/testlib.c
patch
|
blob
|
history
diff --git
a/test/api/testlib.c
b/test/api/testlib.c
index
0b00b09
..
583a2c4
100644
(file)
--- a/
test/api/testlib.c
+++ b/
test/api/testlib.c
@@
-1,4
+1,4
@@
-/* $Id: testlib.c,v 1.44 2007-04-16 21:54:37 adam Exp $
+/* $Id: testlib.c,v 1.45 2007-04-18 11:37:39 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
Copyright (C) 1995-2007
Index Data ApS
@@
-43,7
+43,6
@@
int log_level = YLOG_LOG;
/*
* tl_start_up : do common start things, and a zebra_start
/*
* tl_start_up : do common start things, and a zebra_start
- * - nmem_init
* - build the name of logfile from argv[0], and open it
* if no argv passed, do not open a log
* - read zebra.cfg from env var srcdir if it exists; otherwise current dir
* - build the name of logfile from argv[0], and open it
* if no argv passed, do not open a log
* - read zebra.cfg from env var srcdir if it exists; otherwise current dir
@@
-59,7
+58,6
@@
ZebraService tl_start_up(char *cfgname, int argc, char **argv)
setrlimit(RLIMIT_CPU, &rlim);
#endif
#endif
setrlimit(RLIMIT_CPU, &rlim);
#endif
#endif
- nmem_init();
return tl_zebra_start(cfgname);
}
return tl_zebra_start(cfgname);
}
@@
-94,7
+92,6
@@
int tl_close_down(ZebraHandle zh, ZebraService zs)
if (zs)
zebra_stop(zs);
if (zs)
zebra_stop(zs);
- nmem_exit();
xmalloc_trav("x");
return 1;
}
xmalloc_trav("x");
return 1;
}