diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-07-18 16:09:42 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-07-18 16:09:42 +0000 |
commit | 0e086aef2513d7263ba21f6835f74945fa9915e2 (patch) | |
tree | f49e387677074a37235fb1716ba8827564a5f38a /lib/init.c | |
parent | 540385da7e909b0f05b141508e148b2abc3f638a (diff) | |
download | libgtop-0e086aef2513d7263ba21f6835f74945fa9915e2.tar.gz |
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.
Diffstat (limited to 'lib/init.c')
-rw-r--r-- | lib/init.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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'", |