Changeset 3617286 for commands.c


Ignore:
Timestamp:
Dec 30, 2007, 8:53:07 PM (13 years ago)
Author:
Alex Vandiver <alexmv@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:
b38b0b2, 61abb18
Parents:
9aba27b
git-author:
Alex Vandiver <alexmv@mit.edu> (12/30/07 20:52:12)
git-committer:
Alex Vandiver <alexmv@mit.edu> (12/30/07 20:53:07)
Message:
Don't conceal subscription errors with the "ok, we added it to the
.zephyr.subs file" message, by not doing the latter if the former
fails.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    rfa4f9c3 r3617286  
    17681768  char *recip="";
    17691769  int temp=0;
     1770  int ret=0;
    17701771 
    17711772  if (argc<3) {
     
    17971798  }
    17981799
    1799   owl_function_subscribe(argv[0], argv[1], recip);
    1800   if (!temp) {
     1800  ret = owl_function_subscribe(argv[0], argv[1], recip);
     1801  if (!temp && !ret) {
    18011802    owl_zephyr_addsub(NULL, argv[0], argv[1], recip);
    18021803  }
Note: See TracChangeset for help on using the changeset viewer.