projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd53f1
)
chat(): Remove pointless NULL-pointer check
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 10:02:10 +0000
(12:02 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:39 +0000
(16:35 +0200)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
e872a39
..
5f1a43b
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-3665,12
+3665,6
@@
static void chat(struct client_state *csp)
/* decide how to route the HTTP request */
fwd = forward_url(csp, http);
- if (NULL == fwd)
- {
- log_error(LOG_LEVEL_FATAL, "gateway spec is NULL!?!? This can't happen!");
- /* Never get here - LOG_LEVEL_FATAL causes program exit */
- return;
- }
#ifdef FEATURE_HTTPS_INSPECTION
/*