Date: Wed, 15 Oct 1997 05:16:41 -0700 (PDT) From: Joerg Wunsch <joerg@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/common_source displayq.c Message-ID: <199710151216.FAA25121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 1997/10/15 05:16:40 PDT
Modified files:
usr.sbin/lpr/common_source displayq.c
Log:
One could be surprised how much bugs can still be found here...
Properlay clean the global RM variable if cgetstr() failed for it.
Otherwise, a connection attempt to a remote machine was made (and a
bogus result code printed) if a local printer followed a remote one in
printcap, and you did a `lpq -a', since checkremote() falsely assumed
the printer to be a remote one.
While i was at it, removed a gratuituous newline printed in front of
the remote machine's name, thus making the output more consistent (and
better machine-parseable) now.
Revision Changes Path
1.11 +3 -2 src/usr.sbin/lpr/common_source/displayq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710151216.FAA25121>
