File: 10-upstream-debug-arg-required-in-debug.patch

package info (click to toggle)
httptunnel 3.3%2Bdfsg-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 924 kB
  • ctags: 457
  • sloc: ansic: 4,707; sh: 330; makefile: 26
file content (37 lines) | stat: -rw-r--r-- 1,265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: --debug is required when DEBUG_MODE is defined
Origin: upstream
Forwarded: not-needed

--- httptunnel-3.3+dfsg.orig/AUTHORS
+++ httptunnel-3.3+dfsg/AUTHORS
@@ -21,6 +21,7 @@ Patches:		Tomas Berndtsson <tomas@nocrew
 			Fumitoshi UKAI <ukai@debian.or.jp>
 			Brian Somers <brian@Awfulhak.org>
 			Sampo Niskanen <sampo.niskanen@iki.fi>
+			Tim Phipps <Tim.Phipps@st.com>
 Testing:		Philip Craig <philip@pobox.com>
 FAQ:			Lars Brinkhoff <lars@nocrew.org>
 			Christian Brideau <cbrideau@newbridge.com>
--- httptunnel-3.3+dfsg.orig/ChangeLog
+++ httptunnel-3.3+dfsg/ChangeLog
@@ -1,3 +1,9 @@
+2001-03-30  lars brinkhoff  <lars@nocrew.org>
+
+	From Tim Phipps <Tim.Phipps@st.com>:
+	* hts.c (parse_arguments): --debug argument is required, not
+	optional.
+
 2001-02-25  lars brinkhoff  <lars@nocrew.org>
 
 	From Sampo Niskanen <sampo.niskanen@iki.fi>:
--- httptunnel-3.3+dfsg.orig/hts.c
+++ httptunnel-3.3+dfsg/hts.c
@@ -105,7 +105,7 @@ parse_arguments (int argc, char **argv,
 	{ "version", no_argument, 0, 'V' },
 	{ "no-daemon", no_argument, 0, 'w' },
 #ifdef DEBUG_MODE
-	{ "debug", optional_argument, 0, 'D' },
+	{ "debug", required_argument, 0, 'D' },
 	{ "logfile", required_argument, 0, 'l' },
 #endif
 	{ "device", required_argument, 0, 'd' },