]> granicus.if.org Git - apache/blobdiff - modules/generators/mod_cgid.c
switch to APR 1.0 API (which is still in flux)
[apache] / modules / generators / mod_cgid.c
index 0e3fca883877ea617f4932d172a1d5c1e7ad6d49..11bdc427fb9bf4b8eb17016a3b4810dce585cf19 100644 (file)
@@ -775,7 +775,7 @@ static int cgid_server(void *data)
                  */
                 ap_log_error(APLOG_MARK, APLOG_ERR, rc, r->server,
                              "couldn't create child process: %d: %s", rc, 
-                             apr_filename_of_pathname(r->filename));
+                             apr_filepath_name_get(r->filename));
             }
             else {
                 apr_hash_set(script_hash, &cgid_req.conn_id, sizeof(cgid_req.conn_id),