summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/rmjob.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-05-05 19:28:34 +0000
committerjoerg <joerg@FreeBSD.org>1996-05-05 19:28:34 +0000
commitf53c8a2ec7b10da3bb55681c44d9e187774e535a (patch)
tree8d050a8da34a5a2d0109e50430becc9882d346f5 /usr.sbin/lpr/common_source/rmjob.c
parent289d83e1bca7867454702376e7598825b3bf49a2 (diff)
downloadFreeBSD-src-f53c8a2ec7b10da3bb55681c44d9e187774e535a.zip
FreeBSD-src-f53c8a2ec7b10da3bb55681c44d9e187774e535a.tar.gz
Fix my botched 4.4Lite2 import, and revert these files to their HEAD
versions.
Diffstat (limited to 'usr.sbin/lpr/common_source/rmjob.c')
-rw-r--r--usr.sbin/lpr/common_source/rmjob.c6
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 bdfe853..74a94d8 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.2 (Berkeley) 4/28/95";
+static char sccsid[] = "@(#)rmjob.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#include <sys/param.h>
@@ -292,7 +292,7 @@ rmremote()
register int i, rem;
char buf[BUFSIZ];
- if (!remote)
+ if (!sendtorem)
return; /* not sending to a remote machine */
/*
@@ -313,7 +313,7 @@ rmremote()
(void) sprintf(cp, " %d", requ[i]);
}
strcat(cp, "\n");
- rem = getport(RM, 0);
+ rem = getport(RM);
if (rem < 0) {
if (from != host)
printf("%s: ", host);
OpenPOWER on IntegriCloud