diff options
author | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-07-20 22:59:35 +0000 |
---|---|---|
committer | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-07-20 22:59:35 +0000 |
commit | 8ca02f3c0539293422509d03219786fb6d7db48b (patch) | |
tree | 20bd0e2739f7c6cadc7c70be3831505d59466e08 /notifier | |
parent | f7faf1f5c3235dfa4f883522da7dc6446f028247 (diff) | |
download | cups-8ca02f3c0539293422509d03219786fb6d7db48b.tar.gz |
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@194 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'notifier')
-rw-r--r-- | notifier/testnotify.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/notifier/testnotify.c b/notifier/testnotify.c index d334a4a9e..d0a502b20 100644 --- a/notifier/testnotify.c +++ b/notifier/testnotify.c @@ -1,5 +1,5 @@ /* - * "$Id: testnotify.c 4829 2005-11-12 03:15:10Z mike $" + * "$Id: testnotify.c 5716 2006-07-11 17:56:57Z mike $" * * Test notifier for the Common UNIX Printing System (CUPS). * @@ -82,6 +82,14 @@ main(int argc, /* I - Number of command-line arguments */ print_attributes(event, 4); ippDelete(event); + + /* + * If the recipient URI is "testnotify://nowait", then we exit after each + * event... + */ + + if (!strcmp(argv[1], "testnotify://nowait")) + return (0); } } @@ -281,5 +289,5 @@ print_attributes(ipp_t *ipp, /* I - IPP request */ /* - * End of "$Id: testnotify.c 4829 2005-11-12 03:15:10Z mike $". + * End of "$Id: testnotify.c 5716 2006-07-11 17:56:57Z mike $". */ |