dont supress ENOBUFs message

This commit is contained in:
Jeff Hill
1999-09-02 21:40:21 +00:00
parent 5181043b85
commit d976c7e70b
4 changed files with 1 additions and 13 deletions

View File

@@ -172,11 +172,7 @@ int lock_needed;
pclient->disconnect = TRUE;
}
else if (pclient->proto == IPPROTO_UDP) {
if (anerrno==ENOBUFS) {
pclient->udpNoBuffCount++;
}
else {
logMsg(
logMsg(
"CAS: UDP send to \"%s\" failed because \"%s\"\n",
(int)buf,
(int)strerror(anerrno),
@@ -184,7 +180,6 @@ int lock_needed;
NULL,
NULL,
NULL);
}
}
else {
assert (0);

View File

@@ -550,11 +550,6 @@ LOCAL void log_one_client(struct client *client, unsigned level)
}
if (level>=2u) {
if (client->udpNoBuffCount>0u) {
printf ("\tNumber of UDP response messages dropped due to ENOBUFs = %u\n",
client->udpNoBuffCount);
}
bytes_reserved = 0;
bytes_reserved += sizeof(struct client);

View File

@@ -438,7 +438,6 @@ struct client *create_udp_client(unsigned sock)
FASTLOCKINIT(&client->eventqLock);
client->recv.maxstk = ETHERNET_MAX_UDP;
client->udpNoBuffCount = 0u;
return client;
}

View File

@@ -137,7 +137,6 @@ struct client{
int proto;
int tid;
unsigned minor_version_number;
unsigned udpNoBuffCount;
char disconnect; /* disconnect detected */
};