summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/lp.local.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-10-14 16:01:02 +0000
committerjoerg <joerg@FreeBSD.org>1997-10-14 16:01:02 +0000
commitfef7c77457bb37b4446a11916d0e18bfbed5fca8 (patch)
tree5f0c559d9ab9b959f3e9d5b41198a5706e25b662 /usr.sbin/lpr/common_source/lp.local.h
parenteadc6c642e65bfe3b9c54fbfbe4c9a1b569663a8 (diff)
downloadFreeBSD-src-fef7c77457bb37b4446a11916d0e18bfbed5fca8.zip
FreeBSD-src-fef7c77457bb37b4446a11916d0e18bfbed5fca8.tar.gz
Improve my hack from rev 1.6 of displayq.c, and make the TCP
connection timeout controllable by a new printcap(5) capability named `ct' (connectiom timeout), defaulting to 120 seconds (which is the default TCP connection timeout). Would anybody see a problem with merging all this into RELENG_2_2?
Diffstat (limited to 'usr.sbin/lpr/common_source/lp.local.h')
-rw-r--r--usr.sbin/lpr/common_source/lp.local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/lpr/common_source/lp.local.h b/usr.sbin/lpr/common_source/lp.local.h
index 837fd2f..bc60549 100644
--- a/usr.sbin/lpr/common_source/lp.local.h
+++ b/usr.sbin/lpr/common_source/lp.local.h
@@ -49,6 +49,7 @@
#define DEFWIDTH 132
#define DEFLENGTH 66
#define DEFUID 1
+#define DEFTIMEOUT 120
/*
* When files are created in the spooling area, they are normally
OpenPOWER on IntegriCloud