git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c31aa
)
increase log level for this failed setsockopt call. EINVAL is a normal error on Solar...
author
Björn Jacke
<bj@sernet.de>
Mon, 7 Apr 2008 09:22:14 +0000
(11:22 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 7 Apr 2008 09:49:54 +0000
(11:49 +0200)
source/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source/lib/util_sock.c
b/source/lib/util_sock.c
index 30a3b83be75894b56e6b2807116b258ca13e4530..f252377b7ed88a03318c75c48e4c6c075a52f8bd 100644
(file)
--- a/
source/lib/util_sock.c
+++ b/
source/lib/util_sock.c
@@
-837,7
+837,10
@@
void set_socket_options(int fd, const char *options)
}
if (ret != 0) {
- DEBUG(0,("Failed to set socket option %s (Error %s)\n",
+ /* be aware that some systems like Solaris return
+ * EINVAL to a setsockopt() call when the client
+ * sent a RST previously - no need to worry */
+ DEBUG(2,("Failed to set socket option %s (Error %s)\n",
tok, strerror(errno) ));
}
}