summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-11-06 01:06:06 +0100
committerMichael Adam <obnox@samba.org>2007-11-06 01:10:04 +0100
commitea7bfdde7268f0f2ce7d1d381f87caea17472d06 (patch)
tree8ed9151ec7e6f48c2953e6c7ae123c63af67d25a /source3
parent99d9993fdb9cdf5ac054329ddf5e9c4f258f9049 (diff)
downloadsamba-ea7bfdde7268f0f2ce7d1d381f87caea17472d06.tar.gz
samba-ea7bfdde7268f0f2ce7d1d381f87caea17472d06.tar.bz2
samba-ea7bfdde7268f0f2ce7d1d381f87caea17472d06.zip
Try to fix the build. There was one forgotten caller
of receive_smb. Jeremy: please check! Michael (This used to be commit 1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index 706b24a577..4bbf3a8db0 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -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);
}