1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

Use a function that actually exists for the keepalive send.

Andrew Bartlett
(This used to be commit 82e7212bbbeefce873291c2fdb3b04ae1e6c26d6)
This commit is contained in:
Andrew Bartlett 2002-08-25 22:23:46 +00:00
parent b97a387c0f
commit 6b9de4f69f

View File

@ -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 */