diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/main.c | 6 | ||||
-rw-r--r-- | src/daemon/slave.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index 7b1e8732..3744b0b1 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -50,6 +50,8 @@ handle_parent_connection (int s) u_int64_t number G_GNUC_UNUSED; u_int64_t instance G_GNUC_UNUSED; u_int64_t strategy G_GNUC_UNUSED; + u_int64_t transport G_GNUC_UNUSED; + u_int64_t protocol G_GNUC_UNUSED; glibtop_send_version (glibtop_global_server, s); @@ -233,13 +235,13 @@ handle_parent_connection (int s) break; case GLIBTOP_CMND_NETINFO: retval = glibtop_get_netinfo_l - (server, &resp->u.data.netinfo, parameter); + (server, &resp->u.data.netinfo, parameter, 0); do_output (s, resp, _offset_data (netinfo), 0, NULL, retval); break; case GLIBTOP_CMND_NETLOAD: retval = glibtop_get_netload_l - (server, &resp->u.data.netload, parameter); + (server, &resp->u.data.netload, parameter, 0, 0); do_output (s, resp, _offset_data (netload), 0, NULL, retval); break; diff --git a/src/daemon/slave.c b/src/daemon/slave.c index 05f69240..773dac30 100644 --- a/src/daemon/slave.c +++ b/src/daemon/slave.c @@ -35,6 +35,8 @@ handle_slave_connection (int input, int output) u_int64_t number G_GNUC_UNUSED; u_int64_t instance G_GNUC_UNUSED; u_int64_t strategy G_GNUC_UNUSED; + u_int64_t transport G_GNUC_UNUSED; + u_int64_t protocol G_GNUC_UNUSED; unsigned short max_len G_GNUC_UNUSED; pid_t pid G_GNUC_UNUSED; |