/******************************************************************************
* This file is Copyright 1993 by Philip G. Richards. All Rights Reserved.
* See the file README that came with this distribution for permissions on
* code usage, copying, and distribution. It comes with absolutely no warranty.
* email: <pgr@prg.ox.ac.uk>
* This command was added by Radim Kolar
******************************************************************************/
/* ---INFOBEGIN--- * DO NOT DELETE THIS COMMENT BLOCK!!!
COMMAND close none "disconnect client from the remote site"
* ---INFOEND--- */
#include "client.h"
#include "table.h"
#include "util.h"
#include "main.h"
int
lclose_main(int argc, char *const*argv, char **envp)
{
if (notconnected)
{
ffprintf(STDERR, "close: not connected\n");
return 1;
}
disconnect();
return 0;
}
syntax highlighted by Code2HTML, v. 0.9.1