git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9209d8e
)
Fixed one more sendto.
author
Jeremy Allison
<jra@samba.org>
Fri, 19 Apr 2002 17:22:32 +0000
(17:22 +0000)
committer
Jeremy Allison
<jra@samba.org>
Fri, 19 Apr 2002 17:22:32 +0000
(17:22 +0000)
Jeremy.
source/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source/lib/util_sock.c
b/source/lib/util_sock.c
index 27336cefa22a25558201b7bcc9ec0ea0e77c4a51..5bdfb24be406d9e0b9fa07ff704e7364c95b0a3e 100644
(file)
--- a/
source/lib/util_sock.c
+++ b/
source/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 = (s
ys_s
endto(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",