Changeset 5fca55f for zephyr.c


Ignore:
Timestamp:
Nov 19, 2010, 2:15:34 AM (11 years ago)
Author:
Karl Ramm <kcr@1ts.org>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
950e2da
Parents:
b401ef2
git-author:
Jason Gross <jgross@MIT.EDU> (11/17/10 02:18:47)
git-committer:
Karl Ramm <kcr@1ts.org> (11/19/10 02:15:34)
Message:
I/O errors on writing subscription file in :unsub are no longer clobbered by "No subscription present in..."

owl_util_file_deleteline now returns -1 on error, and owl_zephyr_delsub
now checks linesdeleted == 0 before erroring with "No subscription
present in...".

Additionally, free(filename) corrected to owl_free(filename) in two
places.

Reviewed-By: Karl Ramm <kcr@1ts.org>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r9d21120 r5fca55f  
    10121012  if (linesdeleted > 0) {
    10131013    owl_function_makemsg("Subscription removed");
    1014   } else {
     1014  } else if (linesdeleted == 0) {
    10151015    owl_function_error("No subscription present in %s", subsfile);
    10161016  }
Note: See TracChangeset for help on using the changeset viewer.