From: mquinson Date: Sat, 11 Apr 2009 23:12:30 +0000 (+0000) Subject: lower the gravity of the message indicating that setsockopt failed to set the buffer... X-Git-Tag: v3.3~9 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2ed1a13d387d4d5396e45747b51eed855a05f9c3 lower the gravity of the message indicating that setsockopt failed to set the buffer sizes. It do fail on darwin, but I doubt nowadays that this setting does any good. OSes know better than me what the good buffer size should be. Maybe we should kill that completely git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6237 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Transport/transport_plugin_tcp.c b/src/gras/Transport/transport_plugin_tcp.c index cfce9e2422..dcd4f5eee0 100644 --- a/src/gras/Transport/transport_plugin_tcp.c +++ b/src/gras/Transport/transport_plugin_tcp.c @@ -90,7 +90,7 @@ static XBT_INLINE void gras_trp_sock_socket_client(gras_trp_plugin_t ignored, if (setsockopt(sock->sd, SOL_SOCKET, SO_RCVBUF, (char *)&size, sizeof(size)) || setsockopt(sock->sd, SOL_SOCKET, SO_SNDBUF, (char *)&size, sizeof(size))) { - WARN1("setsockopt failed, cannot set buffer size: %s",sock_errstr(sock_errno)); + VERB1("setsockopt failed, cannot set buffer size: %s",sock_errstr(sock_errno)); } he = gethostbyname (sock->peer_name);