Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ea06a
)
callscgi: Fixed header typo.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 3 Sep 2010 05:47:56 +0000
(07:47 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 3 Sep 2010 05:47:56 +0000
(07:47 +0200)
src/callscgi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callscgi.c
b/src/callscgi.c
index
86abb5b
..
7e5f51c
100644
(file)
--- a/
src/callscgi.c
+++ b/
src/callscgi.c
@@
-430,7
+430,7
@@
static void mkcgienv(struct hthead *req, struct charbuf *dst)
bufaddenv(dst, "SERVER_NAME", "%s", h);
if((h = getheader(req, "X-Ash-Server-Port")) != NULL)
bufaddenv(dst, "SERVER_PORT", "%s", h);
- if(((h = getheader(req, "X-Ash-
Server-
Protocol")) != NULL) && !strcmp(h, "https"))
+ if(((h = getheader(req, "X-Ash-Protocol")) != NULL) && !strcmp(h, "https"))
bufaddenv(dst, "HTTPS", "on");
if((h = getheader(req, "X-Ash-Address")) != NULL)
bufaddenv(dst, "REMOTE_ADDR", "%s", h);