summaryrefslogtreecommitdiff
path: root/main/php_network.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-17 13:19:27 +0000
committerWez Furlong <wez@php.net>2002-03-17 13:19:27 +0000
commit436e339bc77759a7a78c4447d7772f7d8e9e4073 (patch)
tree064790fd051031864c37c2b7ede648283102cf7e /main/php_network.h
parentb98074ee86f1b3bc7d938f12a08fe715771f8445 (diff)
downloadphp-git-436e339bc77759a7a78c4447d7772f7d8e9e4073.tar.gz
Fix for Bug #16121: make unix socket names binary safe.
# Could be applied to 4.2 branch, but I don't have a working copy, and # I don't think it's amazingly critical.
Diffstat (limited to 'main/php_network.h')
-rw-r--r--main/php_network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_network.h b/main/php_network.h
index a9a4bc1623..2170d80b31 100644
--- a/main/php_network.h
+++ b/main/php_network.h
@@ -106,7 +106,7 @@ PHPAPI php_stream *php_stream_sock_open_from_socket(int socket, int persistent);
/* open a connection to a host using php_hostconnect and return a stream */
PHPAPI php_stream *php_stream_sock_open_host(const char *host, unsigned short port,
int socktype, int timeout, int persistent);
-PHPAPI php_stream *php_stream_sock_open_unix(const char *path, int persistent, struct timeval *timeout);
+PHPAPI php_stream *php_stream_sock_open_unix(const char *path, int pathlen, int persistent, struct timeval *timeout);
PHPAPI void php_stream_sock_set_timeout(php_stream *stream, struct timeval *timeout);
PHPAPI int php_stream_sock_set_blocking(php_stream *stream, int mode);