|
|
dfc = cc->cctx_msg; | dfc = cc->cctx_msg; |
assert(dfc != NULL); | assert(dfc != NULL); |
| |
|
/* Determine the job ID for logging. */ |
|
if (dfc->mctx_jobid == 0 || strcmp(dfc->mctx_jobid, JOBIDUNKNOWN) == 0) { |
|
char *jobid = smfi_getsymval(ctx, "i"); |
|
if (jobid != 0) |
|
dfc->mctx_jobid = jobid; |
|
} |
|
|
/* get hostname; used in the X header and in new MIME boundaries */ | /* get hostname; used in the X header and in new MIME boundaries */ |
hostname = smfi_getsymval(ctx, "j"); | hostname = smfi_getsymval(ctx, "j"); |
if (hostname == NULL) | if (hostname == NULL) |