From 1a2f7c37e7e368e749caafbb950c605cbd6dc822 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 4 Sep 2002 14:20:29 +0000 Subject: Sunil Shetye's re-exec patch. svn path=/trunk/; revision=3696 --- options.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index f74100e8..000270ee 100644 --- a/options.c +++ b/options.c @@ -313,7 +313,7 @@ struct query *ctl; /* option record to be initialized */ break; case 'L': case LA_LOGFILE: - rctl->logfile = optarg; + rctl->logfile = prependdir (optarg, currentwd); break; case LA_INVISIBLE: rctl->invisible = TRUE; @@ -323,11 +323,11 @@ struct query *ctl; /* option record to be initialized */ break; case 'f': case LA_RCFILE: - rcfile = (char *) xstrdup(optarg); + rcfile = prependdir (optarg, currentwd); break; case 'i': case LA_IDFILE: - rctl->idfile = (char *) xstrdup(optarg); + rctl->idfile = prependdir (optarg, currentwd); break; case LA_POSTMASTER: rctl->postmaster = (char *) xstrdup(optarg); @@ -538,7 +538,7 @@ struct query *ctl; /* option record to be initialized */ ocount++; break; case LA_BSMTP: - ctl->bsmtp = xstrdup(optarg); + ctl->bsmtp = prependdir (optarg, currentwd); ocount++; break; case LA_LMTP: @@ -578,11 +578,11 @@ struct query *ctl; /* option record to be initialized */ break; case LA_SSLKEY: - ctl->sslkey = xstrdup(optarg); + ctl->sslkey = prependdir (optarg, currentwd); break; case LA_SSLCERT: - ctl->sslcert = xstrdup(optarg); + ctl->sslcert = prependdir (optarg, currentwd); break; case LA_SSLPROTO: -- cgit v1.2.3