summaryrefslogtreecommitdiff
path: root/misc/upclient/files/patch-options.c
diff options
context:
space:
mode:
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)
+ ;