summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-30 14:24:19 +0000
committerMartin Baulig <martin@src.gnome.org>1998-07-30 14:24:19 +0000
commit902b6a8f161002cc08158df798b3c6633c416943 (patch)
treec73f262b2ab7977bf6bb4150621c091203de5c26 /lib/command.c
parentd18a6cf2cefda6c2417e24a08b9e29e95a82f881 (diff)
downloadlibgtop-902b6a8f161002cc08158df798b3c6633c416943.tar.gz
Using `u_int64_t' instead of `unsigned long' and `long' to avoid problems
1998-07-30 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h: Using `u_int64_t' instead of `unsigned long' and `long' to avoid problems when client is on a 32bit system and the server on a 64bit system.
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index acd60081..17cda905 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -37,8 +37,6 @@ glibtop_call_l (glibtop *server, unsigned command, size_t send_size,
memset (&cmnd, 0, sizeof (glibtop_command));
- memcpy (&cmnd.server, server, sizeof (glibtop));
-
cmnd.command = command;
/* If send_size is less than _GLIBTOP_PARAM_SIZE (normally 16 Bytes), we