diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-16 19:11:45 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-01-17 08:03:42 +0100 |
commit | b33f1147a6074b547a908b6c07fe2d4679c36383 (patch) | |
tree | 3f9444bb71c29eafdc6e5f2232dae43754495811 /source3/libsmb | |
parent | 6e684c8460ed5be9347aec36bb51bd8c823a0565 (diff) | |
download | samba-b33f1147a6074b547a908b6c07fe2d4679c36383.tar.gz samba-b33f1147a6074b547a908b6c07fe2d4679c36383.tar.bz2 samba-b33f1147a6074b547a908b6c07fe2d4679c36383.zip |
s3: Remove unused cli_send_keepalive
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 2c49a8b3f0..3fb1c7fc7f 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -766,25 +766,6 @@ bool cli_set_case_sensitive(struct cli_state *cli, bool case_sensitive) return ret; } -/**************************************************************************** -Send a keepalive packet to the server -****************************************************************************/ - -bool cli_send_keepalive(struct cli_state *cli) -{ - if (cli->fd == -1) { - DEBUG(3, ("cli_send_keepalive: fd == -1\n")); - return false; - } - if (!send_keepalive(cli->fd)) { - close(cli->fd); - cli->fd = -1; - DEBUG(0,("Error sending keepalive packet to client.\n")); - return false; - } - return true; -} - struct cli_echo_state { uint16_t vwv[1]; DATA_BLOB data; |