summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 11:36:27 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:25 +0200
commitbb867df269a3c39c6f757f53c3770a0501eb42ff (patch)
treeb8a04464b69b2c7207364a94d1c7a5b15e007899
parenta2bf46e9ec27092cf25515587956cbd68a909248 (diff)
downloadsamba-bb867df269a3c39c6f757f53c3770a0501eb42ff.tar.gz
samba-bb867df269a3c39c6f757f53c3770a0501eb42ff.tar.bz2
samba-bb867df269a3c39c6f757f53c3770a0501eb42ff.zip
s3: Remove smbd_server_fd() from keepalive_fn
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 89b191e715..450d2580c8 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2412,7 +2412,7 @@ static bool keepalive_fn(const struct timeval *now, void *private_data)
}
smbd_lock_socket(smbd_server_conn);
- ret = send_keepalive(smbd_server_fd());
+ ret = send_keepalive(sconn->sock);
smbd_unlock_socket(smbd_server_conn);
if (!ret) {