summaryrefslogtreecommitdiff
path: root/src/rcpthosts.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-18 15:23:02 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-18 15:23:02 +0200
commit9837632ea985b87eb6aaa7f619a0b859fc6c40f6 (patch)
treef143461843ba2fdaa8e7499ebf52afda3eb08cd4 /src/rcpthosts.c
parent7b4d3ab22988d021d5f12b81aec746f7e486fa52 (diff)
update to 4.3.10HEADmaster
Diffstat (limited to 'src/rcpthosts.c')
-rw-r--r--src/rcpthosts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcpthosts.c b/src/rcpthosts.c
index 2242249..d4a5c27 100644
--- a/src/rcpthosts.c
+++ b/src/rcpthosts.c
@@ -19,7 +19,7 @@ static int fdmrh;
static struct cdb cdb;
-int rcpthosts_init()
+int rcpthosts_init(void)
{
flagrh = control_readfile(&rh,"control/rcpthosts",0);
if (flagrh != 1) return flagrh;
@@ -32,7 +32,7 @@ int rcpthosts_init()
static stralloc host = {0};
-int rcpthosts(char *buf, int len)
+int rcpthosts(char *buf,int len)
{
int j;
int r;