summaryrefslogtreecommitdiff
path: root/source3/utils/smbfilter.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-25 02:53:13 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-25 02:53:13 +0000
commitb95a294a0879e800e816281a80d0074224cd8cd4 (patch)
treef6f57c9b0138c1a3027fa1ed78186d9df0830c0d /source3/utils/smbfilter.c
parent413ad23faff509332985d6972c931900af2fd5f5 (diff)
downloadsamba-b95a294a0879e800e816281a80d0074224cd8cd4.tar.gz
samba-b95a294a0879e800e816281a80d0074224cd8cd4.tar.bz2
samba-b95a294a0879e800e816281a80d0074224cd8cd4.zip
fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef instead of a define
(This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
Diffstat (limited to 'source3/utils/smbfilter.c')
-rw-r--r--source3/utils/smbfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index 833221b10b..db83873e69 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -179,7 +179,7 @@ static void start_filter(char *desthost)
fd_set fds;
int num;
struct sockaddr addr;
- int in_addrlen = sizeof(addr);
+ socklen_t in_addrlen = sizeof(addr);
FD_ZERO(&fds);
FD_SET(s, &fds);