Changes in / [93ee554:5bc0f68]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r34509d5 r89f5338  
    6565owl_global g;
    6666
    67 char * owl_get_datadir() {
    68     char * datadir = getenv("BARNOWL_DATA_DIR");
    69     if(datadir != NULL)
    70         return strchr(datadir, '=') + 1;
    71     return DATADIR;
    72 }
    73 
    7467int main(int argc, char **argv, char **env)
    7568{
  • util.c

    r34509d5 r89f5338  
    776776}
    777777
     778char * owl_get_datadir() {
     779    char * datadir = getenv("BARNOWL_DATA_DIR");
     780    if(datadir != NULL)
     781        return strchr(datadir, '=') + 1;
     782    return DATADIR;
     783}
     784
    778785/**************************************************************************/
    779786/************************* REGRESSION TESTS *******************************/
Note: See TracChangeset for help on using the changeset viewer.