--- frontends/ctlinnd.c Mon May 6 10:02:07 2002 +++ frontends/ctlinnd.c Sun Jan 19 08:30:34 2003 @@ -199,6 +199,7 @@ char *nv[4]; struct stat Sb; char buff[SMBUF]; + char *sockpath = NULL; /* First thing, set up logging and our identity. */ openlog("ctlinnd", L_OPENLOG_FLAGS | LOG_PID, LOG_INN_PROG); @@ -210,11 +211,14 @@ ICCsettimeout(CTLINND_TIMEOUT); /* Parse JCL. */ - while ((i = getopt(ac, av, "hst:")) != EOF) + while ((i = getopt(ac, av, "c:hst:")) != EOF) switch (i) { default: Usage("bad flags"); /* NOTREACHED */ + case 'c': /* anoter socket */ + sockpath = optarg; + break; case 'h': /* Get help */ NeedHelp = TRUE; break; @@ -310,7 +314,7 @@ } /* Do the real work. */ - if (ICCopen() < 0) + if (ICCopen(sockpath) < 0) Failed("setup communication"); i = ICCcommand(cp->Letter, av, &reply); if (i < 0) {