1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Try to fix the build. There was one forgotten caller

of receive_smb. Jeremy: please check!

Michael
This commit is contained in:
Michael Adam 2007-11-06 01:06:06 +01:00
parent d140d68537
commit 1f0fcc3e4e

View File

@ -145,7 +145,7 @@ static void filter_child(int c, struct sockaddr_storage *dest_ss)
if (num <= 0) continue;
if (c != -1 && FD_ISSET(c, &fds)) {
if (!receive_smb(c, packet, 0)) {
if (!receive_smb(c, packet, 0, NULL)) {
d_printf("client closed connection\n");
exit(0);
}
@ -156,7 +156,7 @@ static void filter_child(int c, struct sockaddr_storage *dest_ss)
}
}
if (s != -1 && FD_ISSET(s, &fds)) {
if (!receive_smb(s, packet, 0)) {
if (!receive_smb(s, packet, 0, NULL)) {
d_printf("server closed connection\n");
exit(0);
}