summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/streams/transports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/transports.c b/main/streams/transports.c
index 7ede9407e6..4f4832df2d 100644
--- a/main/streams/transports.c
+++ b/main/streams/transports.c
@@ -58,7 +58,7 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, in
STREAMS_DC TSRMLS_DC)
{
php_stream *stream = NULL;
- php_stream_transport_factory factory;
+ php_stream_transport_factory factory = NULL;
const char *p, *protocol = NULL;
int n = 0, failed = 0;
char *error_text = NULL;