From: Ian Jackson Date: Mon, 3 May 2010 11:11:21 +0000 (+0100) Subject: fixes X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=commitdiff_plain;h=cb7fbb09e728227055ebf1de24bfb696656b0891 fixes --- diff --git a/backends/innduct.c b/backends/innduct.c index 005df92..853a25c 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -23,6 +23,10 @@ * with GPLv3. If not then please let me know. -Ian Jackson.) */ +/* + * todo + * specify perms of /tmp/innduct.control + */ /* * debugging rune: @@ -3331,6 +3335,7 @@ static void dump_input_file(FILE *f, const ControlCommand *c, DUMPV("%d", ipf->,readcount_ok); DUMPV("%d", ipf->,readcount_blank); DUMPV("%d", ipf->,readcount_err); + DUMPV("%d", ipf->,count_nooffer_missing); } fprintf(f,"\n"); if (ipf) { @@ -3758,6 +3763,10 @@ int main(int argc, char **argv) { notice("starting"); + int val= 1; + r= SMsetup(SM_PREOPEN, &val); if (!r) warn("SMsetup SM_PREOPEN failed"); + r= SMinit(); if (!r) die("storage manager initialisation (SMinit) failed"); + if (!become_daemon) control_stdio();