Fixed one more sendto.
authorJeremy Allison <jra@samba.org>
Fri, 19 Apr 2002 17:22:32 +0000 (17:22 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 19 Apr 2002 17:22:32 +0000 (17:22 +0000)
Jeremy.

source/lib/util_sock.c

index 27336cefa22a25558201b7bcc9ec0ea0e77c4a51..5bdfb24be406d9e0b9fa07ff704e7364c95b0a3e 100644 (file)
@@ -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",