summaryrefslogtreecommitdiff
path: root/systemv/cancel.c
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-07-20 22:59:35 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-07-20 22:59:35 +0000
commit8ca02f3c0539293422509d03219786fb6d7db48b (patch)
tree20bd0e2739f7c6cadc7c70be3831505d59466e08 /systemv/cancel.c
parentf7faf1f5c3235dfa4f883522da7dc6446f028247 (diff)
downloadcups-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 'systemv/cancel.c')
-rw-r--r--systemv/cancel.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/systemv/cancel.c b/systemv/cancel.c
index 63c92fcfa..f6d4aed0a 100644
--- a/systemv/cancel.c
+++ b/systemv/cancel.c
@@ -1,5 +1,5 @@
/*
- * "$Id: cancel.c 5091 2006-02-08 18:39:56Z mike $"
+ * "$Id: cancel.c 5696 2006-06-26 18:34:20Z mike $"
*
* "cancel" command for the Common UNIX Printing System (CUPS).
*
@@ -121,7 +121,10 @@ main(int argc, /* I - Number of command-line arguments */
case 'h' : /* Connect to host */
if (http != NULL)
+ {
httpClose(http);
+ http = NULL;
+ }
if (argv[i][2] != '\0')
cupsSetServer(argv[i] + 2);
@@ -387,5 +390,5 @@ main(int argc, /* I - Number of command-line arguments */
/*
- * End of "$Id: cancel.c 5091 2006-02-08 18:39:56Z mike $".
+ * End of "$Id: cancel.c 5696 2006-06-26 18:34:20Z mike $".
*/