diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2000-11-14 22:03:59 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2000-11-14 22:03:59 +0000 |
commit | aa538512da1295c1bb9895d322d2bccda663acc4 (patch) | |
tree | e1070982c1fd23e267310faf89ab483660755d3a /usr.sbin/lpr/lpd/printjob.c | |
parent | a480d5f20e75e27718bceb1c7c1dd45b45a13a5d (diff) |
Fix (style) some variable initializations.
Notes
Notes:
svn path=/head/; revision=68734
Diffstat (limited to 'usr.sbin/lpr/lpd/printjob.c')
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index bf9d918a083a..03600f9440e2 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -354,10 +354,11 @@ printit(pp, file) char *file; { register int i; - char *cp; - int bombed = OK; - int didignorehdr = 0; + char *cp; + int bombed, didignorehdr; + bombed = OK; + didignorehdr = 0; /* * open control file; ignore if no longer there. */ @@ -593,7 +594,7 @@ print(pp, format, file) int fi, fo; FILE *fp; char *av[15], buf[BUFSIZ]; - int pid, p[2], stopped = 0; + int pid, p[2], stopped; union wait status; struct stat stb; @@ -612,6 +613,7 @@ print(pp, format, file) return(ACCESS); job_dfcnt++; /* increment datafile counter for this job */ + stopped = 0; /* output filter is not stopped */ /* everything seems OK, start it up */ if (!pp->no_formfeed && !pp->tof) { /* start on a fresh page */ |