File php-5.1.2-xp_socket.patch of Package php
--- main/streams/xp_socket.c 2006/01/01 12:50:18 1.33.2.1
+++ main/streams/xp_socket.c 2006/02/02 18:16:43 1.33.2.2
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xp_socket.c,v 1.33.2.1 2006/01/01 12:50:18 sniper Exp $ */
+/* $Id: xp_socket.c,v 1.33.2.2 2006/02/02 18:16:43 pollita Exp $ */
#include "php.h"
#include "ext/standard/file.h"
@@ -578,7 +578,7 @@
php_stream_xport_param *xparam TSRMLS_DC)
{
char *host = NULL, *bindto = NULL;
- int portno, bindport;
+ int portno, bindport = 0;
int err;
int ret;
zval **tmpzval = NULL;