diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-04-03 09:25:57 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-04-03 09:25:57 +0000 |
commit | 2e5e6f45dcb90c6d3bb0ba748f1f23aba685fa44 (patch) | |
tree | d6391322faca12f96a0d853b2cce1a2b235898de /gacopyz | |
parent | fab084798a10b7e3ac848101c81049d4a90b7e3a (diff) | |
download | mailfromd-2e5e6f45dcb90c6d3bb0ba748f1f23aba685fa44.tar.gz mailfromd-2e5e6f45dcb90c6d3bb0ba748f1f23aba685fa44.tar.bz2 |
Bug fixes
git-svn-id: file:///svnroot/mailfromd/trunk@1341 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'gacopyz')
-rw-r--r-- | gacopyz/gacopyz.h | 1 | ||||
-rw-r--r-- | gacopyz/smfi.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gacopyz/gacopyz.h b/gacopyz/gacopyz.h index 90d3607f..e5353199 100644 --- a/gacopyz/gacopyz.h +++ b/gacopyz/gacopyz.h @@ -209,6 +209,7 @@ extern int smfi_opensocket (int); extern int smfi_register (struct smfiDesc); extern int smfi_main (void); extern int smfi_setbacklog (int); +extern int smfi_set_foreground(int val); extern int smfi_setdbg (int); extern int smfi_settimeout (time_t); extern int smfi_setconn (char *); diff --git a/gacopyz/smfi.c b/gacopyz/smfi.c index 100b619e..661be1c3 100644 --- a/gacopyz/smfi.c +++ b/gacopyz/smfi.c @@ -49,6 +49,12 @@ smfi_setbacklog(int val) } int +smfi_set_foreground(int val) +{ + return gacopyz_set_foreground(milter_conn, val); +} + +int smfi_register(struct smfiDesc desc) { struct timeval t; |