fixed gnu warning and added priority to casr
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user