prout

print out papers using libcups
git clone git://z3bra.org/prout
Log | Files | Refs | README | LICENSE

commit 2500503cac5ec287d48c453de3a2a582530be81e
parent 5062a6e4f83c38059c8d7836a98b6cad828970ec
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sat Feb 13 20:51:53 2016

exit() is a function call, not a keyword

Diffstat:
 prout.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/prout.c b/prout.c @@ -35,7 +35,7 @@ static char* check_file(char *file) if (!f) { fprintf(stderr, "Cannot open the given file\n"); - exit (1); + exit(1); } /* Don't let the file close longer */ @@ -56,7 +56,7 @@ static cups_dest_t* check_dest() /* Leave if there is no default printer configured */ if (num_dests < 1) { fprintf(stderr, "No default printer configured\n"); - exit (1); + exit(1); } /* Get the default destination from all dests */ @@ -65,7 +65,7 @@ static cups_dest_t* check_dest() /* No need to go on if we can't reach the printer */ if (!dest) { fprintf(stderr, "Cannot get a pointer to the default destination"); - exit (1); + exit(1); } return (dest); @@ -144,7 +144,7 @@ int main(int argc, char **argv) /* check the given arguments */ if (argc < 2) { usage(); - exit (1); + exit(1); } for (i=1; (i < argc) && (argv[i][0] == '-'); i++) {