summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2004-03-18 17:11:52 +0000
committerRichard Sharpe <sharpe@samba.org>2004-03-18 17:11:52 +0000
commita650789626f7a546367bf950385bfb3ddb2911ff (patch)
tree8258b530c9f7d88ba102e4515512f77ee8329449 /source3/lib/util_sock.c
parentef8eae0688a8c9da20c187b9d5cd6a1e4f425142 (diff)
downloadsamba-a650789626f7a546367bf950385bfb3ddb2911ff.tar.gz
samba-a650789626f7a546367bf950385bfb3ddb2911ff.tar.bz2
samba-a650789626f7a546367bf950385bfb3ddb2911ff.zip
Commit Derrell Lipman's changes and fixes to libsmbclient. The build but
I have not tested them beyond building. I did fix the two instances of safe_strxxx that were introduced. (This used to be commit bf89adbcb4c77792004e4ea9da248b71b72b7dbb)
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 15ce883b09..845aaa4b13 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -714,7 +714,7 @@ int open_socket_out(int type, struct in_addr *addr, int port ,int timeout)
/* create a socket to write to */
res = socket(PF_INET, type, 0);
if (res == -1) {
- DEBUG(0,("socket error\n"));
+ DEBUG(0,("socket error (%s)\n", strerror(errno)));
return -1;
}