diff options
| author | Anatol Belski <ab@php.net> | 2013-04-22 18:53:52 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2013-04-22 18:55:32 +0200 |
| commit | f082d6311b7998987f018fc6c791dd1892f2912a (patch) | |
| tree | 2de4f3b2ac3c20e18c7e2d7686c8f3656e06ed23 /ext/standard/streamsfuncs.c | |
| parent | 70b67f2e509ca05e60c85cc14c1b82b107713604 (diff) | |
| download | php-git-f082d6311b7998987f018fc6c791dd1892f2912a.tar.gz | |
Fixed stream_socket_pair() on Windows x64 and
improved errorhandling in the socketpair() implementation.
Diffstat (limited to 'ext/standard/streamsfuncs.c')
| -rw-r--r-- | ext/standard/streamsfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 4a86007e85..27042f6e5d 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -51,7 +51,7 @@ PHP_FUNCTION(stream_socket_pair) { long domain, type, protocol; php_stream *s1, *s2; - int pair[2]; + php_socket_t pair[2]; if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &domain, &type, &protocol)) { |
