summaryrefslogtreecommitdiff
path: root/misc/upclient/files/patch-options.c
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-01-05 03:37:07 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-01-05 03:37:07 +0000
commit9efa8d4a6c744fc8f65de387a6c6e117e37134c5 (patch)
tree807e3cb9ad5c24e6f906c1465a868a9add5e952b /misc/upclient/files/patch-options.c
parentUpdate to 8.11.2 (diff)
Major update from 3.04 to 4.2.1.19
PR: 23948 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Notes
Notes: svn path=/head/; revision=36804
Diffstat (limited to 'misc/upclient/files/patch-options.c')
-rw-r--r--misc/upclient/files/patch-options.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/misc/upclient/files/patch-options.c b/misc/upclient/files/patch-options.c
new file mode 100644
index 000000000000..6adf0f6e35a6
--- /dev/null
+++ b/misc/upclient/files/patch-options.c
@@ -0,0 +1,26 @@
+--- src/options.c.orig Mon Dec 18 02:20:24 2000
++++ src/options.c Sat Dec 30 02:48:01 2000
+@@ -23,11 +23,7 @@
+ int cfg_proxyport = 8080;
+ char cfg_proxyuser[PROXYUSER_MAXLEN+1] = "";
+ char cfg_proxypass[PROXYPASS_MAXLEN+1] = "";
+-#if defined(PLATFORM_BSD)
+-int cfg_sendidle = 0;
+-#else
+ int cfg_sendidle = 1;
+-#endif
+ #if defined(PLATFORM_UNIXWARE)
+ int cfg_sendload = 0;
+ #else
+@@ -99,11 +95,7 @@
+ else if(strcmp(key, "PidFile") == 0)
+ strcpy(cfg_pidfile, value);
+ else if(strcmp(key, "SendIdleTime") == 0)
+-#if defined(PLATFORM_BSD)
+- ;
+-#else
+ cfg_sendidle = atol(value);
+-#endif
+ else if(strcmp(key, "SendLoadAvg") == 0)
+ #if defined(PLATFORM_UNIXWARE)
+ ;