From fab7a109e26ae31b7f6b383445fced504f2a1371 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Sat, 3 Oct 2009 07:58:19 +0000 Subject: [PATCH] chatd: NOBUG fix unnecessary call-time pass by reference. --- mod/chat/chatd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/chat/chatd.php b/mod/chat/chatd.php index 9807acde84b..ebd14a6523b 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); } }