[SCM] Samba Shared Repository - branch master updated -
c4ff426f673ca4be01a599af80a9b99616b1543a
Volker Lendecke
vlendec at samba.org
Sun Jan 4 16:29:58 GMT 2009
The branch, master has been updated
via c4ff426f673ca4be01a599af80a9b99616b1543a (commit)
from b4f8996ac79309a3ff4cd299e7978ec9f993a5c4 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c4ff426f673ca4be01a599af80a9b99616b1543a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 4 17:28:24 2009 +0100
Fix the build of smbfilter
-----------------------------------------------------------------------
Summary of changes:
source3/utils/smbfilter.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index e7b71bd..1fdea81 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -141,10 +141,11 @@ static bool send_smb(int fd, char *buffer)
static void filter_child(int c, struct sockaddr_storage *dest_ss)
{
- int s;
+ NTSTATUS status;
+ int s = -1;
/* we have a connection from a new client, now connect to the server */
- s = open_socket_out(dest_ss, 445, LONG_CONNECT_TIMEOUT);
+ status = open_socket_out(dest_ss, 445, LONG_CONNECT_TIMEOUT, &s);
if (s == -1) {
char addr[INET6_ADDRSTRLEN];
--
Samba Shared Repository
More information about the samba-cvs
mailing list