Added `GLIBTOP_METHOD_PIPE' again.
1998-07-18 Martin Baulig <martin@home-of-linux.org> * lib/{init, open}.c: Added `GLIBTOP_METHOD_PIPE' again. * src/server/main.c: Removed gettext stuff.
This commit is contained in:
committed by
Martin Baulig
parent
540385da7e
commit
0e086aef25
@@ -136,6 +136,11 @@ _init_server (glibtop *server, const unsigned features)
|
||||
/* Connect to unix domain socket. */
|
||||
server->method = GLIBTOP_METHOD_UNIX;
|
||||
|
||||
} else if (!strcmp (command, "pipe")) {
|
||||
|
||||
/* Open pipe to server. */
|
||||
server->method = GLIBTOP_METHOD_PIPE;
|
||||
|
||||
} else {
|
||||
|
||||
glibtop_error_r (server, "Unknown server method '%s'",
|
||||
|
Reference in New Issue
Block a user