summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-04-19 17:22:32 +0000
committerJeremy Allison <jra@samba.org>2002-04-19 17:22:32 +0000
commit8bc0e73a4366d79e292c21bebf671a2a2a6e5531 (patch)
tree2adf66af5d683ccf22382696ce7dbe9edb5ca996 /source3
parentbaf8e2e7127eb037264472ceb463cd61d1425a65 (diff)
downloadsamba-8bc0e73a4366d79e292c21bebf671a2a2a6e5531.tar.gz
samba-8bc0e73a4366d79e292c21bebf671a2a2a6e5531.tar.bz2
samba-8bc0e73a4366d79e292c21bebf671a2a2a6e5531.zip
Fixed one more sendto.
Jeremy. (This used to be commit 7adcc930ca56bf879b5e73b74bca19ac2353f1c0)
Diffstat (limited to 'source3')
-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 27336cefa2..5bdfb24be4 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -789,7 +789,7 @@ BOOL send_one_packet(char *buf,int len,struct in_addr ip,int port,int type)
len,inet_ntoa(ip),port,type==SOCK_DGRAM?"DGRAM":"STREAM"));
/* send it */
- ret = (sendto(out_fd,buf,len,0,(struct sockaddr *)&sock_out,sizeof(sock_out)) >= 0);
+ ret = (sys_sendto(out_fd,buf,len,0,(struct sockaddr *)&sock_out,sizeof(sock_out)) >= 0);
if (!ret)
DEBUG(0,("Packet send to %s(%d) failed ERRNO=%s\n",