Use `retval' for the default retval.

1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* features.def: Use `retval' for the default retval.

	* include/glibtop/command.h (glibtop_command_h): Added
	`int *retval_ptr' parameter to return the retval from the
	sysdeps functions.
This commit is contained in:
Martin Baulig
1999-10-24 20:04:37 +00:00
committed by Martin Baulig
parent 1dadfb6d15
commit 507f171b63
8 changed files with 67 additions and 32 deletions

View File

@@ -35,7 +35,7 @@ glibtop_close_r (glibtop *server)
case GLIBTOP_METHOD_UNIX:
case GLIBTOP_METHOD_INET:
glibtop_call_l (server, GLIBTOP_CMND_QUIT,
0, NULL, 0, NULL);
0, NULL, 0, NULL, NULL);
if (close (server->socket))
glibtop_warn_io ("close");