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:
parent
d140d68537
commit
1f0fcc3e4e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user