Changeset 697221f


Ignore:
Timestamp:
May 24, 2011, 9:36:28 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
414a272, 6476c0e, f1c845b
Parents:
78f6c35
git-author:
David Benjamin <davidben@mit.edu> (04/04/11 01:30:41)
git-committer:
David Benjamin <davidben@mit.edu> (05/24/11 21:36:28)
Message:
Inform the user when an unpunt command does nothing

Also, make the corresponding message for referencing a punt filter by
number not an error. It's not an internal error, so it needn't be
logged.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r78f6c35 r697221f  
    24792479        return;
    24802480      } else {
    2481         owl_function_error("No such filter number: %d", i+1);
     2481        owl_function_makemsg("No such filter number: %d.", i+1);
    24822482      }
    24832483    }
  • functions.c

    r78f6c35 r697221f  
    28582858  }
    28592859
    2860   owl_function_debugmsg("punting");
    2861   /* If we're punting, add the filter to the global punt list */
    2862   if (direction==0) {
     2860  if (direction == 0) {
     2861    owl_function_debugmsg("punting");
     2862    /* If we're punting, add the filter to the global punt list */
    28632863    owl_list_append_element(fl, f);
    2864   }
     2864  } else if (direction == 1) {
     2865    owl_function_makemsg("No matching punt filter");
     2866 }
    28652867}
    28662868
Note: See TracChangeset for help on using the changeset viewer.