php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #63983
Patch fix-fpm-compile revision 2013-03-08 07:31 UTC by chibisuke at web dot de

Patch fix-fpm-compile for Compile Failure Bug #63983

Patch version 2013-03-08 07:31 UTC

Return to Bug #63983 | Download this patch
Patch Revisions:

Developer: chibisuke@web.de

-- /usr/local/src/php-5.4.12/sapi/fpm/fpm/fpm_sockets.c        2013-03-08 08:19:23.000000000 +0100
+++ /usr/local/src/php-5.4.12/sapi/fpm/fpm/fpm_sockets.c.orig   2013-03-08 08:30:17.000000000 +0100
@@ -401,16 +401,16 @@
        }

        /* kernel >= 2.6.24 return non-zero here, that means operation is supported */
-       if (info.__tcpi_sacked == 0) {
+       if (info.tcpi_sacked == 0) {
                return -1;
        }

        if (cur_lq) {
-               *cur_lq = info.__tcpi_unacked;
+               *cur_lq = info.tcpi_unacked;
        }

        if (max_lq) {
-               *max_lq = info.__tcpi_sacked;
+               *max_lq = info.tcpi_sacked;
        }

        return 0;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 11:01:32 2024 UTC