Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 01:30:40 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435510 - head/net/delegate/files
Message-ID:  <201703060130.v261UepS072733@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Mar  6 01:30:40 2017
New Revision: 435510
URL: https://svnweb.freebsd.org/changeset/ports/435510

Log:
  - Fix build with clang 4.0
  
  PR:		216624

Added:
  head/net/delegate/files/patch-src_env.c   (contents, props changed)

Added: head/net/delegate/files/patch-src_env.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/delegate/files/patch-src_env.c	Mon Mar  6 01:30:40 2017	(r435510)
@@ -0,0 +1,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);
+ 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703060130.v261UepS072733>