Changeset 836ea3a3 for util.c


Ignore:
Timestamp:
Oct 17, 2003, 5:20:48 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:
6a50af2
Parents:
ec6ff52
Message:
Converted more error messages to use the error queue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    rf1e629d r836ea3a3  
    726726  file=fopen(filename, "r");
    727727  if (!file) {
    728     owl_function_makemsg("Error opening file %s", filename);
     728    owl_function_error("Error opening file %s", filename);
    729729    return;
    730730  }
     
    735735    backupfile=fopen(backupfilename, "w");
    736736    if (!backupfile) {
    737       owl_function_makemsg("Error opening file %s for writing", backupfilename);
     737      owl_function_error("Error opening file %s for writing", backupfilename);
    738738      owl_free(backupfilename);
    739739      return;
     
    773773  file=fopen(filename, "w");
    774774  if (!file) {
    775     owl_function_makemsg("WARNING: Error opening %s for writing.  Use %s to restore.", filename, backupfilename);
     775    owl_function_error("WARNING: Error opening %s for writing.  Use %s to restore.", filename, backupfilename);
    776776    owl_function_beep();
    777777    owl_free(line);
Note: See TracChangeset for help on using the changeset viewer.