[libgtop] Use the server parameter, not the global/default one.
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Use the server parameter, not the global/default one.
- Date: Sun, 19 Jul 2015 13:15:04 +0000 (UTC)
commit 14818230859f11f12d0568f5c171413949414191
Author: Benoit Dejean <bdejean gmail com>
Date: Sat Jul 18 22:08:52 2015 +0200
Use the server parameter, not the global/default one.
lib/init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/init.c b/lib/init.c
index 6ad2ee4..2b215fd 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]