From 0c85c515f104abe5c463e1e4c3b7e11573fd45a2 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 29 Aug 2001 18:42:57 +0000 Subject: [PATCH] fixed gnu warning and added priority to casr --- src/rsrv/caservertask.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/rsrv/caservertask.c b/src/rsrv/caservertask.c index 7f0c67e18..a9bb49c11 100644 --- a/src/rsrv/caservertask.c +++ b/src/rsrv/caservertask.c @@ -333,16 +333,17 @@ LOCAL void log_one_client (struct client *client, unsigned level) send_delay = epicsTimeDiffInSeconds(¤t,&client->time_at_last_send); recv_delay = epicsTimeDiffInSeconds(¤t,&client->time_at_last_recv); - printf( "%s(%s): User=\"%s\", V%u.%u, Channel Count=%d\n", + printf ( "%s(%s): User=\"%s\", V%u.%u, Channel Count=%d Priority=%u\n", clientHostName, client->pHostName ? client->pHostName : "", client->pUserName ? client->pUserName : "", CA_MAJOR_PROTOCOL_REVISION, client->minor_version_number, - ellCount(&client->addrq)); + ellCount(&client->addrq), + client->priority ); if (level>=1) { printf ("\tTask Id=%p, Protocol=%3s, Socket FD=%d\n", client->tid, - pproto, client->sock); + (void *) pproto, client->sock); printf( "\tSecs since last send %6.2f, Secs since last receive %6.2f\n", send_delay, recv_delay);