From 14818230859f11f12d0568f5c171413949414191 Mon Sep 17 00:00:00 2001 From: Benoit Dejean Date: Sat, 18 Jul 2015 22:08:52 +0200 Subject: [PATCH] Use the server parameter, not the global/default one. --- lib/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.c b/lib/init.c index 6ad2ee4f..2b215fd9 100644 --- a/lib/init.c +++ b/lib/init.c @@ -209,7 +209,7 @@ glibtop_init_r (glibtop **server_ptr, unsigned long features, unsigned flags) /* Open server, but only if not already opened. */ if ((server->flags & _GLIBTOP_INIT_STATE_OPEN) == 0) - glibtop_open_l (glibtop_global_server, "glibtop", + glibtop_open_l (server, "glibtop", features, flags); return server;