summaryrefslogtreecommitdiff
path: root/lib/lib.pl
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>2000-02-06 14:43:55 +0000
committerMartin Baulig <martin@src.gnome.org>2000-02-06 14:43:55 +0000
commit55ff827b504712f3806b21d250695b33ed96114e (patch)
treeefa71396bce1bcedebe9cde8e83eeee2d354faaa /lib/lib.pl
parent0daf65ef73ec2089aa16c12e2cd4e1c109f3a865 (diff)
downloadlibgtop-55ff827b504712f3806b21d250695b33ed96114e.tar.gz
Removed `method', `server_command', `server_host', `server_user' and
2000-02-06 Martin Baulig <martin@home-of-linux.org> * glibtop.h (glibtop): Removed `method', `server_command', `server_host', `server_user' and `server_rsh'. Added `glibtop_parameter _param' field and moved `error_method' there. * include/glibtop/parameter.h (glibtop_parameter): New structure. (GLIBTOP_PARAM_METHOD, GLIBTOP_PARAM_COMMAND): Removed. (GLIBTOP_PARAM_HOST, GLIBTOP_PARAM_PORT): Removed. (GLIBTOP_PARAM_REMOTE_USER, GLIBTOP_PARAM_PATH_RSH): Removed. (GLIBTOP_PARAM_NCPU, GLIBTOP_PARAM_OS_VERSION_CODE): Added.
Diffstat (limited to 'lib/lib.pl')
-rwxr-xr-xlib/lib.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.pl b/lib/lib.pl
index 88be3dfb..64d46293 100755
--- a/lib/lib.pl
+++ b/lib/lib.pl
@@ -45,7 +45,7 @@ print "\tu_int64_t old_required = *required;\n";
print "\t/* Return if we have all required fields. */";
print "\tif ((~present & old_required) == 0)";
print "\t\treturn;\n";
-print "\tswitch (server->error_method) {";
+print "\tswitch (server->_param.error_method) {";
print "\tcase GLIBTOP_ERROR_METHOD_WARN_ONCE:";
print "\t\t*required &= present;";
print "\tcase GLIBTOP_ERROR_METHOD_WARN:";