Changeset 378fa14 for functions.c


Ignore:
Timestamp:
Jun 5, 2003, 5:33:55 PM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
22fcd366
Parents:
884c272
Message:
Fixed bug in 'startup' command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    raac889a r378fa14  
    29172917  filename=owl_sprintf("%s/%s", owl_global_get_homedir(&g), OWL_STARTUP_FILE);
    29182918  file=fopen(filename, "a");
    2919   owl_free(filename);
    29202919  if (!file) {
    29212920    owl_function_makemsg("Error opening startupfile for new command");
     2921    owl_free(filename);
    29222922    return;
    29232923  }
     
    29252925  /* delete earlier copies */
    29262926  owl_util_file_deleteline(filename, buff, 1);
     2927  owl_free(filename);
    29272928
    29282929  /* add this line */
Note: See TracChangeset for help on using the changeset viewer.