masqmail-0.2

view src/libident/id_close.c @ 92:10d00e3235f2

updated docs (online_file, mserver_iface) - the default location of the online_file is /var/run/masqmail/masqmail-route - the online file can and should (!) end with a newline (this once was different) - marked the online detect method `mserver' as obsolete
author meillo@marmaro.de
date Mon, 21 Jun 2010 10:04:36 +0200
parents 08114f7dcc23
children
line source
1 /*
2 ** id_close.c Close a connection to an IDENT server
3 **
4 ** Author: Peter Eriksson <pen@lysator.liu.se>
5 */
7 #ifdef NeXT3
8 # include <libc.h>
9 #endif
11 #ifdef HAVE_ANSIHEADERS
12 # include <stdlib.h>
13 # include <unistd.h>
14 #endif
16 #define IN_LIBIDENT_SRC
17 #include "ident.h"
19 int
20 id_close __P1(ident_t *, id)
21 {
22 int res;
24 res = close(id->fd);
25 free(id);
27 return res;
28 }