summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 11:20:06 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 14:35:42 +0100
commitbf35606bbf8bd8146238c50c1e10d583ca0ab443 (patch)
tree2c86c4550fa96aebf01fc4a127d03d2678d809b0
parent6d84b24d766eb5c7c4504d1f51b51dd6c7cb185b (diff)
downloadsamba-bf35606bbf8bd8146238c50c1e10d583ca0ab443.tar.gz
samba-bf35606bbf8bd8146238c50c1e10d583ca0ab443.tar.bz2
samba-bf35606bbf8bd8146238c50c1e10d583ca0ab443.zip
s3:smbd: remove references to the global smbd_server_conn
metze
-rw-r--r--source3/smbd/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index dccb7bca6b..3f710c090c 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2382,9 +2382,9 @@ static bool keepalive_fn(const struct timeval *now, void *private_data)
return false;
}
- smbd_lock_socket(smbd_server_conn);
+ smbd_lock_socket(sconn);
ret = send_keepalive(sconn->sock);
- smbd_unlock_socket(smbd_server_conn);
+ smbd_unlock_socket(sconn);
if (!ret) {
char addr[INET6_ADDRSTRLEN];