Commit 7b1a9c6a authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Update to previous revision; put the acl file into the same directory we

put the logfile when using the new -l option (on XEN).
parent ed82b05c
......@@ -357,7 +357,8 @@ sslverify(SSL *ssl, char *requiredunit)
main(int argc, char **argv)
char strbuf[MAXPATHLEN], *newstr(), *logpath = LOGPATH;
char strbuf[MAXPATHLEN], *newstr();
char *logpath = LOGPATH, *aclpath = ACLPATH;
int op, i;
struct sigaction sa;
extern int optind;
......@@ -424,6 +425,7 @@ main(int argc, char **argv)
case 'l':
logpath = optarg;
aclpath = optarg;
case 'L':
stamplast = 1;
......@@ -556,7 +558,7 @@ main(int argc, char **argv)
Bossaddr.sin_port = htons(serverport);
(void) snprintf(strbuf, sizeof(strbuf), ACLNAME, ACLPATH, Machine);
(void) snprintf(strbuf, sizeof(strbuf), ACLNAME, aclpath, Machine);
Aclname = newstr(strbuf);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment