Back to index

courier  0.68.2
islocalt.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #include      "courier.h"
00007 #include      "rfc822/rfc822.h"
00008 #include      <string.h>
00009 #include      <stdlib.h>
00010 
00011 int configt_islocal(const struct rfc822token *t, char **p)
00012 {
00013 char   *address=rfc822_gettok(t);
00014 int    rc;
00015 
00016        if (!address) clog_msg_errno();
00017        rc=config_islocal(address, p);
00018        free(address);
00019        return (rc);
00020 }