Removed. (glibtop_get_proc_args_*): This now takes a `glibtop_array'

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

	* include/glibtop/procargs.h (glibtop_proc_args): Removed.
	(glibtop_get_proc_args_*): This now takes a `glibtop_array' parameter
	instead of a `glibtop_proc_args one and returns a `char **'.
This commit is contained in:
Martin Baulig
1999-12-19 14:37:49 +00:00
committed by Martin Baulig
parent da42214e86
commit 339e1f4557
8 changed files with 47 additions and 31 deletions

View File

@@ -164,7 +164,7 @@ handle_parent_connection (int s)
memcpy (&pid, parameter, sizeof (pid_t));
ptr = glibtop_get_proc_args_l (server,
&resp->u.data.proc_args,
pid, 0);
pid);
do_output (s, resp, _offset_data (proc_args),
ptr ? resp->u.data.proc_args.size+1 : 0, ptr,
(ptr != NULL) ? 0 : -1);