Deleted Added
full compact
ctm_dequeue.c (18114) ctm_dequeue.c (18119)
1/*
2 * Copyright (c) 1996, Gary J. Palmer
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*
2 * Copyright (c) 1996, Gary J. Palmer
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $Id: ctm_dequeue.c,v 1.3 1996/09/07 18:48:42 peter Exp $
29 * $Id: ctm_dequeue.c,v 1.4 1996/09/07 19:46:29 peter Exp $
30 */
31
32/*
33 * Change this if you want to alter how many files it sends out by
34 * default
35 */
36
37#define DEFAULT_NUM 2

--- 33 unchanged lines hidden (view full) ---

71 OPTIONS("[-l log] [-n num] queuedir")
72 NUMBER('n', num_to_send)
73 STRING('l', log_file)
74 ENDOPTS;
75
76 if (argc != 2)
77 usage();
78
30 */
31
32/*
33 * Change this if you want to alter how many files it sends out by
34 * default
35 */
36
37#define DEFAULT_NUM 2

--- 33 unchanged lines hidden (view full) ---

71 OPTIONS("[-l log] [-n num] queuedir")
72 NUMBER('n', num_to_send)
73 STRING('l', log_file)
74 ENDOPTS;
75
76 if (argc != 2)
77 usage();
78
79 if (log_file)
80 err_set_log(log_file);
81
79 queue_dir = argv[1];
80 list[0] = queue_dir;
81 list[1] = NULL;
82
83 fts = fts_open(list, FTS_PHYSICAL, fts_sort);
84 if (fts == NULL)
85 {
86 err("fts failed on `%s'", queue_dir);

--- 150 unchanged lines hidden ---
82 queue_dir = argv[1];
83 list[0] = queue_dir;
84 list[1] = NULL;
85
86 fts = fts_open(list, FTS_PHYSICAL, fts_sort);
87 if (fts == NULL)
88 {
89 err("fts failed on `%s'", queue_dir);

--- 150 unchanged lines hidden ---