diff options
author | joerg <joerg@FreeBSD.org> | 1996-05-05 22:40:51 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-05-05 22:40:51 +0000 |
commit | 914cbcef2ca2238d808f510c1a2f084eb37952b6 (patch) | |
tree | a2c9a4d920a98c3865b5da51ea401d02253ceae3 /usr.sbin/lpr/common_source/rmjob.c | |
parent | 8d1089fb9317c3fa275c4470e8a92463cc828758 (diff) | |
download | FreeBSD-src-914cbcef2ca2238d808f510c1a2f084eb37952b6.zip FreeBSD-src-914cbcef2ca2238d808f510c1a2f084eb37952b6.tar.gz |
Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's really
surprising how many trivial errors there have been... :-)
Some more cleanup is needed, but i'd like to separate the Lite2 changes
from other work, that's why this goes into a different commit.
People with serial printers should see whether i have broken the stty-
style printcap options (i hope not).
Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua>
Diffstat (limited to 'usr.sbin/lpr/common_source/rmjob.c')
-rw-r--r-- | usr.sbin/lpr/common_source/rmjob.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/lpr/common_source/rmjob.c b/usr.sbin/lpr/common_source/rmjob.c index 74a94d8..bdfe853 100644 --- a/usr.sbin/lpr/common_source/rmjob.c +++ b/usr.sbin/lpr/common_source/rmjob.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)rmjob.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)rmjob.c 8.2 (Berkeley) 4/28/95"; #endif /* not lint */ #include <sys/param.h> @@ -292,7 +292,7 @@ rmremote() register int i, rem; char buf[BUFSIZ]; - if (!sendtorem) + if (!remote) return; /* not sending to a remote machine */ /* @@ -313,7 +313,7 @@ rmremote() (void) sprintf(cp, " %d", requ[i]); } strcat(cp, "\n"); - rem = getport(RM); + rem = getport(RM, 0); if (rem < 0) { if (from != host) printf("%s: ", host); |