summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-25 22:23:46 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-25 22:23:46 +0000
commit6b9de4f69f6d4f2cb7f28228c70e72837cc745ac (patch)
tree9bd8bcc30b1f9e85d64f43a5e8c787623caada50 /source3
parentb97a387c0ff29bcafacc8109069e1c2f3cce7c1b (diff)
downloadsamba-6b9de4f69f6d4f2cb7f28228c70e72837cc745ac.tar.gz
samba-6b9de4f69f6d4f2cb7f28228c70e72837cc745ac.tar.bz2
samba-6b9de4f69f6d4f2cb7f28228c70e72837cc745ac.zip
Use a function that actually exists for the keepalive send.
Andrew Bartlett (This used to be commit 82e7212bbbeefce873291c2fdb3b04ae1e6c26d6)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmbclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index fa27f54340..3897851167 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -211,7 +211,7 @@ static int smbc_errno(SMBCCTX *context, struct cli_state *c)
*/
int smbc_check_server(SMBCCTX * context, SMBCSRV * server)
{
- if ( cli_send_keepalive(&server->cli) == False )
+ if ( send_keepalive(server->cli.fd) == False )
return 1;
/* connection is ok */