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:
Martin Baulig
1998-07-18 16:09:42 +00:00
committed by Martin Baulig
parent 540385da7e
commit 0e086aef25
5 changed files with 62 additions and 20 deletions

View File

@@ -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'",