]> git.mjollnir.org Git - moodle.git/commitdiff
chat: Remove unnecessary call-time pass by reference.
authortjhunt <tjhunt>
Fri, 24 Jul 2009 09:16:09 +0000 (09:16 +0000)
committertjhunt <tjhunt>
Fri, 24 Jul 2009 09:16:09 +0000 (09:16 +0000)
mod/chat/chatd.php

index a721e68181462ea8939b22661d911c07786b535e..db6e851ef2cfd929759ddf2e950671d2586faeb0 100755 (executable)
@@ -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);
     }
 }