Author: poeml Date: 2009-03-02 14:15:44 -0700 (Mon, 02 Mar 2009) New Revision: 6661 Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c Log: mod_mirrorbrain: - remove the variables (in Apache's subprocess env) with overly long names that have been replaced with shorter versions a while ago Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c =================================================================== --- trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c 2009-03-02 19:48:45 UTC (rev 6660) +++ trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c 2009-03-02 21:15:44 UTC (rev 6661) @@ -941,13 +941,9 @@ continent_code); /* save details for logging via a CustomLog */ - apr_table_setn(r->subprocess_env, "MIRRORBRAIN_FILESIZE", /* FIXME: obsolete the long names soon */ - apr_off_t_toa(r->pool, r->finfo.size)); apr_table_setn(r->subprocess_env, "MB_FILESIZE", apr_off_t_toa(r->pool, r->finfo.size)); - apr_table_set(r->subprocess_env, "MIRRORBRAIN_COUNTRY_CODE", country_code); apr_table_set(r->subprocess_env, "MB_COUNTRY_CODE", country_code); - apr_table_set(r->subprocess_env, "MIRRORBRAIN_CONTINENT_CODE", continent_code); apr_table_set(r->subprocess_env, "MB_CONTINENT_CODE", continent_code); @@ -1024,7 +1020,6 @@ ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, "[mod_mirrorbrain] no mirrors found for %s", filename); /* can be used for a CustomLog */ - apr_table_setn(r->subprocess_env, "MIRRORBRAIN_NOMIRROR", "1"); apr_table_setn(r->subprocess_env, "MB_NOMIRROR", "1"); if (mirrorlist) { @@ -1901,7 +1896,6 @@ debugLog(r, cfg, "Redirect to '%s'", uri); /* for _conditional_ logging, leave some mark */ - apr_table_setn(r->subprocess_env, "MIRRORBRAIN_REDIRECTED", "1"); apr_table_setn(r->subprocess_env, "MB_REDIRECTED", "1"); apr_table_setn(r->subprocess_env, "MB_REALM", apr_pstrdup(r->pool, found_in)); _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on 2009-03-02Z21:16:45
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:12 GMT