Changeset ad15610 for global.c


Ignore:
Timestamp:
Aug 8, 2007, 6:01:51 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ce7b824
Parents:
b51d257
Message:
Applying ctl's variable shuffling patch for better ANSI C-ness. closes #18
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rb363d83 rad15610  
    1818  struct hostent *hent;
    1919  char hostname[MAXHOSTNAMELEN];
     20  char *cd;
    2021
    2122  g->malloced=0;
     
    8889  g->confdir = NULL;
    8990  g->startupfile = NULL;
    90   char * cd = owl_sprintf("%s/%s", g->homedir, OWL_CONFIG_DIR);
     91  cd = owl_sprintf("%s/%s", g->homedir, OWL_CONFIG_DIR);
    9192  owl_global_set_confdir(g, cd);
    9293  owl_free(cd);
Note: See TracChangeset for help on using the changeset viewer.