summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorDan Sledz <dsledz@isilon.com>2008-12-15 17:12:49 -0800
committerTim Prouty <tprouty@samba.org>2008-12-15 23:30:50 -0800
commit2f17be1f57b895b0e37e0a3d77d2ffea4d34d340 (patch)
tree2fbe5ab480f28d41dcf19cf54da37e9de721b8e3 /source3/lib
parent70874ceed92c60a2c016ea05507b0fa273f1d853 (diff)
downloadsamba-2f17be1f57b895b0e37e0a3d77d2ffea4d34d340.tar.gz
samba-2f17be1f57b895b0e37e0a3d77d2ffea4d34d340.tar.bz2
samba-2f17be1f57b895b0e37e0a3d77d2ffea4d34d340.zip
s3: Use DEBUGADD instead of DEBUG to avoid printing the header
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 605bbf1fb6..7fe8ed82a2 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -368,13 +368,14 @@ static void print_socket_options(int s)
* leak in SCO Openserver 5.0 */
/* reported on samba-technical --jerry */
if ( DEBUGLEVEL >= 5 ) {
+ DEBUG(5,("Socket options:\n"));
for (; p->name != NULL; p++) {
if (getsockopt(s, p->level, p->option,
(void *)&value, &vlen) == -1) {
- DEBUG(5,("Could not test socket option %s.\n",
+ DEBUGADD(5,("\tCould not test socket option %s.\n",
p->name));
} else {
- DEBUG(5,("socket option %s = %d\n",
+ DEBUGADD(5,("\t%s = %d\n",
p->name,value));
}
}