From: tjhunt Date: Fri, 24 Jul 2009 09:16:09 +0000 (+0000) Subject: chat: Remove unnecessary call-time pass by reference. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d1dd5d030fcb54e8a42ab99b93f6ca060e034c86;p=moodle.git chat: Remove unnecessary call-time pass by reference. --- diff --git a/mod/chat/chatd.php b/mod/chat/chatd.php index a721e68181..db6e851ef2 100755 --- a/mod/chat/chatd.php +++ b/mod/chat/chatd.php @@ -72,7 +72,7 @@ class ChatConnection { function ChatConnection($resource) { $this->handle = $resource; - @socket_getpeername($this->handle, &$this->ip, &$this->port); + @socket_getpeername($this->handle, $this->ip, $this->port); } }