Changeset 318 for trunk/run_email2trac.c


Ignore:
Timestamp:
02/15/10 15:27:14 (13 years ago)
Author:
bas
Message:

Fixed an segv in run_email2trac.c with the new python_egg cache setting. see #174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/run_email2trac.c

    r315 r318  
    5656
    5757  char   **trac_script_args;
    58   char   *python_egg_cache;
     58  char   *python_egg_cache = NULL;
    5959  struct passwd *TRAC;
    6060  struct passwd *MTA;
     
    126126 
    127127  /* Set PYTHON_EGG_CACHE env variable if we have been told to do so */
    128 /*
    129   if ( strlen(python_egg_cache) > 0 ) {
     128  if ( python_egg_cache != NULL ) {
    130129    setenv("PYTHON_EGG_CACHE",python_egg_cache ,1);
    131130  }
    132 */
    133131
    134132  /* Execute script */
Note: See TracChangeset for help on using the changeset viewer.