From 30381686c4874e4f9602a977a31399e49350e597 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 25 Sep 2004 11:15:18 +0000 Subject: r2621: - now that the client code is non-blocking, we no longer need write_data and read_data, which are inherently blocking operations - got rid of some old NBT keepalive routines that are not needed (This used to be commit e73b4ae4e500d3b7ee57e160e0f8b63c99b2542a) --- source4/auth/auth_server.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'source4/auth/auth_server.c') diff --git a/source4/auth/auth_server.c b/source4/auth/auth_server.c index d66415b525..be272e625c 100644 --- a/source4/auth/auth_server.c +++ b/source4/auth/auth_server.c @@ -144,24 +144,6 @@ static void free_server_private_data(void **private_data_pointer) } } -/**************************************************************************** - Send a 'keepalive' packet down the cli pipe. -****************************************************************************/ - -static void send_server_keepalive(void **private_data_pointer) -{ - struct smbcli_state **cli = (struct smbcli_state **)private_data_pointer; - - /* also send a keepalive to the password server if its still - connected */ - if (cli && *cli && (*cli)->initialised) { - if (!send_nbt_keepalive((*cli)->fd)) { - DEBUG( 2, ( "password server keepalive failed.\n")); - smbcli_shutdown(*cli); - } - } -} - /**************************************************************************** Get the challenge out of a password server. ****************************************************************************/ -- cgit