From 28b1a9b7397f7ccc7bb251e8e4e3dafeeb13a142 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 20 Jan 1998 14:43:05 +0000 Subject: Properly initialize the printer struct. PR: bin/5519 --- usr.sbin/lpr/lpd/recvjob.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/lpr/lpd/recvjob.c') diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c index 6b1c8b0..74fc253 100644 --- a/usr.sbin/lpr/lpd/recvjob.c +++ b/usr.sbin/lpr/lpd/recvjob.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)recvjob.c 8.2 (Berkeley) 4/27/95"; #endif static const char rcsid[] = - "$Id: recvjob.c,v 1.11 1997/10/06 03:58:48 imp Exp $"; + "$Id: recvjob.c,v 1.12 1997/12/02 20:45:59 wollman Exp $"; #endif /* not lint */ /* @@ -94,6 +94,7 @@ recvjob(printer) /* * Perform lookup for printer name or abbreviation */ + init_printer(pp); status = getprintcap(printer, pp); switch (status) { case PCAPERR_OSERR: -- cgit v1.1