]> granicus.if.org Git - php/commit
- Fix couple of problems with socket_create_pair():
authorMarkus Fischer <mfischer@php.net>
Wed, 1 May 2002 10:41:10 +0000 (10:41 +0000)
committerMarkus Fischer <mfischer@php.net>
Wed, 1 May 2002 10:41:10 +0000 (10:41 +0000)
commita2fbdad20ee94c37f736f9aef6ffa91c98d63ee3
tree21aaeea1b9614616292672cd73dca3d9df8df65b
parent7ee9e9d9e55e810d8b8eb554678ffec74b488bd4
- Fix couple of problems with socket_create_pair():
  - Force fourth argument to be passed by reference
  - Since the argument is modified there is no need to force it to be an array
    since it's destroyed anyway
  - Only modify the argument if socketpair() was successfully
  - Fix string modified for error message message
  - Set global last_error when socketpair() fails
ext/sockets/sockets.c