[3.0] 9f83e8f Compile fix for Solaris

Tollef Fog Heen tfheen at varnish-cache.org
Thu Jun 13 14:34:28 CEST 2013


commit 9f83e8fdbd2a54047e4fa909758260db59a5e4b6
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Jun 13 14:34:21 2013 +0200

    Compile fix for Solaris

diff --git a/bin/varnishd/cache_waiter_ports.c b/bin/varnishd/cache_waiter_ports.c
index 6973080..a46e35a 100644
--- a/bin/varnishd/cache_waiter_ports.c
+++ b/bin/varnishd/cache_waiter_ports.c
@@ -250,7 +250,7 @@ static void
 vca_ports_pass(struct sess *sp)
 {
 	int r;
-       r = port_send(vws->dport, 0, TRUST_ME(sp));
+       r = port_send(solaris_dport, 0, TRUST_ME(sp));
        if (r == -1 && errno == EAGAIN) {
 	       VSC_C_main->sess_pipe_overflow++;
 	       vca_close_session(sp, "session pipe overflow");



More information about the varnish-commit mailing list