aboutsummaryrefslogtreecommitdiffstats
path: root/net/delegate/files/patch-src_env.c
blob: 62744d59b67bedd7941d46271f8d7ecd94407afb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/env.c.orig	2017-03-05 22:10:09 UTC
+++ src/env.c
@@ -2080,7 +2080,7 @@ static void confCGI(Connection *Conn,DYC
 	if( *ereq ){
 		putenv(ereq);
 	}
-	if( 0 <= esock ){
+	if( esock != NULL ){
 		sprintf(esock,"CLSOCK=%d",ClientSock);
 		putenv(esock);
 	}