threads / patch / 5540

patchFix space in string " false" problem in "trace.c".

Subject: [PATCH] Fix space in string " false" problem in "trace.c".

## tl;dr

One message between Sep 12, 2006 and Sep 12, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Christian Couder· Sep 12, 2006, 04:43 UTC · lore
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to trace.c +1 −1
diff --git a/trace.c b/trace.c
index ce01c34..f9efc91 100644
--- a/trace.c
+++ b/trace.c
@@ -55,7 +55,7 @@ static int get_trace_fd(int *need_close)
 {
 	char *trace = getenv("GIT_TRACE");
 
-	if (!trace || !strcmp(trace, "0") || !strcasecmp(trace," false"))
+	if (!trace || !strcmp(trace, "0") || !strcasecmp(trace, "false"))
 		return 0;
 	if (!strcmp(trace, "1") || !strcasecmp(trace, "true"))
 		return STDERR_FILENO;
-- 
1.4.2.g886e

← back to recent threads