Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 1998 00:01:21 -0800 (PST)
From:      shiba@mxs.meshnet.or.jp
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/5519: 3.0 - current lpd for network printer
Message-ID:  <199801190801.AAA05509@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5519
>Category:       bin
>Synopsis:       3.0 - current lpd for network printer
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 00:10:01 PST 1998
>Last-Modified:
>Originator:     shiba
>Organization:
>Release:        3.0-current
>Environment:
>Description:
network printer name cannot resolve
>How-To-Repeat:

>Fix:
--- printcap.c.~1~      Mon Dec 29 08:29:28 1997
+++ printcap.c  Mon Jan 12 18:15:53 1998
@@ -218,7 +218,7 @@
 
        if ((pp->printer = capdb_canonical_name(bp)) == 0)
                return PCAPERR_OSERR;
-
+       pp->remote_host = 0;
 #define CHK(x) do {if ((x) == PCAPERR_OSERR) return PCAPERR_OSERR;}while(0)
        CHK(capdb_getaltstr(bp, "af", "acct.file", 0, &pp->acct_file));
        CHK(capdb_getaltnum(bp, "br", "tty.rate", 0, &pp->baud_rate));

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801190801.AAA05509>