git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102145
13f79535-47bb-0310-9956-
ffa450edef68
int n;
apr_status_t rv;
+ if (!cfg->fd) {
+ return DECLINED;
+ }
+
if (!(id = apr_table_get(r->subprocess_env, "UNIQUE_ID"))) {
/* we make the assumption that we can't go through all the PIDs in
under 1 second */
int l,n;
apr_status_t rv;
+ if (!cfg->fd) {
+ return DECLINED;
+ }
+
s = apr_pstrcat(r->pool, "-", id, "\n", NULL);
l = n = strlen(s);
rv = apr_file_write(cfg->fd, s, &n);