Properly initialize the printer struct.

PR: bin/5519
This commit is contained in:
Garrett Wollman 1998-01-20 14:43:05 +00:00
parent 81d50a41f6
commit 8830deae19
1 changed files with 2 additions and 1 deletions

View File

@ -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: