freebsd-ports/net/delegate/files/patch-src_env.c
Danilo Egea Gondolfo 77e8a23af4 - Fix build with clang 4.0
PR:		216624
2017-03-06 01:30:40 +00:00

12 lines
263 B
C

--- 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);
}